My Oracle Support Banner

Unable to Generate Java Files for JSP in WebApp (Doc ID 1314922.1)

Last updated on APRIL 06, 2018

Applies to:

Oracle Weblogic Server - Version 10.3.4 and later
Information in this document applies to any platform.

Symptoms

The web application (webapp) has the following weblogic.xml deployment descriptor, but the java files for JSP are not being generated -

<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
   <jsp-descriptor>
      <jsp-param>
          <param-name>compileFlags</param-name>
          <param-value>-g</param-value>
      </jsp-param>
      <jsp-param>
          <param-name>keepgenerated</param-name>
           <param-value>true</param-value>
      </jsp-param>
   </jsp-descriptor>
</weblogic-web-app>


Also tried to use the following, but it does not work either -

<?xml version="1.0" encoding="UTF-8"?>
  <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    <jsp-descriptor>
       <keepgenerated>true</keepgenerated>
      <working-dir>/tmp</working-dir>
      <backward-compatible>true</backward-compatible>
      <debug>true</debug>
    </jsp-descriptor>
  </weblogic-web-app>




Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.