Erro ao carregar ... o que pode ser?

2 respostas
C

Pessoal não consegui entender este log… quem puder me ajudar!!!

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

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:\Tomcat5.0\work\Catalina\localhost\LibraryWeb\org\apache\jsp\index_jsp.java:7: cannot access java.lang.Object
bad class file: C:\Arquivos de programas\Java\j2sdk1.5.0\jre\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 final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
^
1 error

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)

org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.

2 Respostas

saoj

Compilando com 1.5 e executando com 1.4 ou vice-versa.

C

É Sérgio valew aí vc acertou foi direto no alvo… no meu tomcat tinha um binário desatualizado… tools.jar da versão 1.4. Obrigado!

:thumbup:

Criado 13 de abril de 2006
Ultima resposta 13 de abr. de 2006
Respostas 2
Participantes 2