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

    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:
  6. 0

    Can I have some help translating some error messages into tangible information?

    Stack Overflow | 5 years ago | Turk
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 50 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory 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