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:\Documents and Settings\jbrad\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\PTest\jvindex_jsp.java:8: cannot access java.lang.Object bad class file: C:\Program Files\Java\jre1.5.0_08\lib\rt.jar(java/lang/Object.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. public class jvindex_jsp extends HttpJspBase { ^ 1 error

Coderanch | jenny brad | 1 decade ago
  1. 0

    jre compiling error

    Coderanch | 1 decade ago | jenny brad
    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:\Documents and Settings\jbrad\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\PTest\jvindex_jsp.java:8: cannot access java.lang.Object bad class file: C:\Program Files\Java\jre1.5.0_08\lib\rt.jar(java/lang/Object.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. public class jvindex_jsp extends HttpJspBase { ^ 1 error
  2. 0

    [TOMAHAWK-579] java.lang.IllegalStateException: getOutputStream() has already been called for this response error using the RI 1.2_01 and Tomahawk 1.1.3 - ASF JIRA

    apache.org | 11 months ago
    org.apache.jasper.JasperException: Exception in JSP: /resources/pages/fileNotFound.jsp:10 7: <!-- Btw this declares html as the default namespace --> 8: 9: <jsp:directive.page contentType="text/html;charset=utf-8"/> 10: <f:subview id="FNFErrorSubview"> 11: <html> 12: 13: <head><meta name="WickedWare" content="Mnemonica Application - Due Date Calendar System"/> Stacktrace:
  3. 0

    Eclipse + WTP Help

    Google Groups | 1 decade ago | coolgirl
    org.apache.jasper.JasperException: /time.jsp(4,0) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=ISO-8859-1, new: text/html)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [HARMONY-5431] Confluence fails with some complaint about Spring Application context - ASF JIRA

    apache.org | 1 year ago
    org.apache.jasper.JasperException: Spring Application context has not been set

  1. treefolk 1 times, last 2 weeks ago
  2. Andreas Häber 1 times, last 1 month ago
  3. Justin 2 times, last 5 months ago
  4. abrazeneb 4 times, last 5 months ago
  5. andyglick 12 times, last 3 months ago
1 more registered users
71 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:\Documents and Settings\jbrad\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\PTest\jvindex_jsp.java:8: cannot access java.lang.Object bad class file: C:\Program Files\Java\jre1.5.0_08\lib\rt.jar(java/lang/Object.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. public class jvindex_jsp extends HttpJspBase { ^ 1 error

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
    3. org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
    5. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
    6. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
    7. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
    8. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
    8 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  4. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    8 frames
  5. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    4 frames
  6. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame