Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by jenny brad, 1 year ago
\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
via Coderanch by Stelian Iancu, 1 year ago
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
via devshed.com by Unknown author, 2 years ago
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
via devshed.com by Unknown author, 2 years ago
Unable to compile class for JSP An error occurred at line: 14 in the jsp file: /jsp/init.jsp Generated servlet error: [javac] Compiling 1 source file /opt/tomcat/temp/jsp/Login_jsp.java:7: package se.schoolsoft.business.student does not exist import se.schoolsoft.business.student.*; ... tons of more errors like the above...
via Coderanch by Dave Wingate, 1 year ago
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
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(DefaultErrorHandler.java:120)	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Unknown Source)