org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file C:\Tomcat 4.1\work\Standalone\localhost\juddi\happyjuddi_jsp.java:7: >cannot access java.io.File > > bad class file: C:\j2sdk1.4.1_06\jre\lib\rt.jar(java/io/File.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the >classpath. > > import java.io.File; ^ 1 error at >org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle >r.java:130) > > at >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 >93) > >

ws-juddi-user | Ilias Stergiou | 1 decade 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

    Re: Search for services by using the categories

    ws-juddi-user | 1 decade ago | Ilias Stergiou
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file C:\Tomcat 4.1\work\Standalone\localhost\juddi\happyjuddi_jsp.java:7: >cannot access java.io.File > > bad class file: C:\j2sdk1.4.1_06\jre\lib\rt.jar(java/io/File.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the >classpath. > > import java.io.File; ^ 1 error at >org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle >r.java:130) > > at >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 >93) > >
  2. 0

    Re: Search for services by using the categories

    ws-juddi-user | 1 decade ago | Delphine Dumontet
    org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file C:\Tomcat 4.1\work\Standalone\localhost\juddi\happyjuddi_jsp.java:7: cannot access java.io.File bad class file: C:\j2sdk1.4.1_06\jre\lib\rt.jar(java/io/File.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import java.io.File; ^ 1 error at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 93)
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  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

      Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file C:\Tomcat 4.1\work\Standalone\localhost\juddi\happyjuddi_jsp.java:7: >cannot access java.io.File > > bad class file: C:\j2sdk1.4.1_06\jre\lib\rt.jar(java/io/File.class) class file has wrong version 48.0, should be 47.0 Please remove or make sure it appears in the correct subdirectory of the >classpath. > > import java.io.File; ^ 1 error at >org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle >r.java:130) > > at >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 >93) > >

      at org.apache.jasper.compiler.Compiler.generateClass()
    2. GWT dev
      Compiler.compile
      1. org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
      2. org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
      2 frames