org.apache.jasper.JasperException: PWC6033: Unable to compile >> class for JSP[/b] >> >> I use JRE 6 > > You need to use JDK 6 (which includes tools.jar). > The JRE is not sufficient. Correct, You can setup the JDK used by GF v3 via Eclipse on the v3 server editor page...(double click on the v3 server node and select "runtime environment" link. If no JDK is there, you will need to install one and register it (using the link "installed JRE preferences" that can register both JREs and JDKs (Eclipse seems to mix JRE and JDKs...so it is confusing). Ludo > > > Jan > >> The LogFile: >> >> >> [b]PWC1406: Servlet.service() for servlet Faces Servlet threw >> exception java.lang.NullPointerException at >> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:172) >> at >> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:368) >>

Oracle Community | karam84 | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    PWC6033: Unable to compile class for JSP

    Oracle Community | 8 years ago | karam84
    org.apache.jasper.JasperException: PWC6033: Unable to compile >> class for JSP[/b] >> >> I use JRE 6 > > You need to use JDK 6 (which includes tools.jar). > The JRE is not sufficient. Correct, You can setup the JDK used by GF v3 via Eclipse on the v3 server editor page...(double click on the v3 server node and select "runtime environment" link. If no JDK is there, you will need to install one and register it (using the link "installed JRE preferences" that can register both JREs and JDKs (Eclipse seems to mix JRE and JDKs...so it is confusing). Ludo > > > Jan > >> The LogFile: >> >> >> [b]PWC1406: Servlet.service() for servlet Faces Servlet threw >> exception java.lang.NullPointerException at >> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:172) >> at >> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:368) >>
  2. 0

    Tomcat 8 FORM not working

    Stack Overflow | 2 years ago | Mandy
    org.apache.jasper.JasperException: /login.jsp (line: 1, column: 1) File [] not found
  3. 0

    custom taglibs cause "PWC6033: Unable to compile class for JSP"

    Stack Overflow | 7 years ago | Tyler
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 6 in the jsp file: /temp.jsp PWC6199: Generated servlet error: com.test cannot be resolved to a type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Compile error when showing directory listing in the webapp (Bugzilla #3076)

    GitHub | 4 years ago | vladak
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6197: An error occurred at line: 34 in the jsp file: /list.jsp PWC6199: Generated servlet error: string:///list_jsp.java:443: incompatible types found : java.util.List required: java.util.ArrayList PWC6199: Generated servlet error: Note: string:///list_jsp.java from uses unchecked or unsafe operations. PWC6199: Generated servlet error: Note: Recompile with -Xlint:unchecked for details.
  6. 0

    JSP Page becomes too long to get compile

    Stack Overflow | 5 years ago
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 320 in the generated java file The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Stacktrace:

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.jasper.JasperException

      PWC6033: Unable to compile >> class for JSP[/b] >> >> I use JRE 6 > > You need to use JDK 6 (which includes tools.jar). > The JRE is not sufficient. Correct, You can setup the JDK used by GF v3 via Eclipse on the v3 server editor page...(double click on the v3 server node and select "runtime environment" link. If no JDK is there, you will need to install one and register it (using the link "installed JRE preferences" that can register both JREs and JDKs (Eclipse seems to mix JRE and JDKs...so it is confusing). Ludo > > > Jan > >> The LogFile: >> >> >> [b]PWC1406: Servlet.service() for servlet Faces Servlet threw >> exception java.lang.NullPointerException at >> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:172) >> at >> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:368) >>

      at org.apache.jasper.compiler.Compiler.compile()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.compile(Compiler.java:437)
      1 frame