Hi all,
I just installed
Tomcat 4.1.27 and JDK 1.4 on a WIN2K server. But it doesn't work and kept on telling me it can't compile
jsp files. I checked the environment variables and path , and they're pointing to the correct directory, so i'm kinda puzzled why it can't compile
The error starts here...any help appreciated.
---------------------------------------------------------------------------
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:\Tomcat\work\Standalone\localhost\_\index_jsp.java:266: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
if (pageContext != null) pageContext.handlePageException(t);
^
1 error
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.
.
.
.
.
.
.
.