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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    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.

    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