| Author |
Unable to compile class for JSP
|
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 666
|
|
I have both Tomcat 4.1.12 and 4.1.24 on my win2000. Recently I find that I can not run jsp (either my own or the examples) with 4.1.12. But 4.1.24 is OK. When I run jsp in Tomcat 4.1.12 I get this message: Any ideas? Thanks. An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file 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) ....
|
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
are you using one set of 'CATALINA_HOME' system variables for both installs? (that would not work, and would lead to problems). Do you have a space in the CATALINA_HOME path? eg: C:\Program Files
|
 |
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 666
|
|
>>are you using one set of 'CATALINA_HOME' system variables for both >>installs? (that would not work, and would lead to problems). I did not set up 'CATALINA_HOME' in both installs. >> Do you have a space in the CATALINA_HOME path? eg: C:\Program Files My tomcat is installed under root: C:\tomcat4112 etc. Thanks
|
 |
 |
|
|
subject: Unable to compile class for JSP
|
|
|