| Author |
unable to compile class for jsp
|
moo moo farm gal
Greenhorn
Joined: Oct 24, 2003
Posts: 3
|
|
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. . . . . . . .
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11863
|
|
Are you able to see the normal Tomcat startup screen? How about the JSP examples? IMPORTANT NOTE: Tomcat pays no attention to the Environment classpath. Bill
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
|
what are the environment variables, what is their exact case, and what do they point to ?
|
 |
 |
|
|
subject: unable to compile class for jsp
|
|
|