tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Unable to compile class for JSP
Date Fri, 23 Sep 2011 20:45:59 GMT
2011/9/24 R4IDER <raider-2007@hotmail.com>:
>
> Hi,
>
> Does anyone know how to go about fixing the error below; I have spent a good
> 12 hours trying to work it out.
>
>
> 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: 18 in the generated java file
> The return type is incompatible with JspSourceDependent.getDependants()
>
(...)

1. If you are using precompiled jsp or tag files, you should compile
them with exact the same x.y.z version of Tomcat where you deploy
them.

2. Stop Tomcat and clear everything from the /work subdirectory of
CATALINA_BASE. That is, there might be *.class files compiled with
some other version of Tomcat.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message