Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to compile class for JSP

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
....
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic