aspose file tools
The moose likes Tomcat and the fly likes  Unable to compile class for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark " Unable to compile class for JSP" Watch " Unable to compile class for JSP" New topic
Author

Unable to compile class for JSP

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Just installed tomcat 5.0.19 and hooked to eclipse 2.1.
When I run my jsp files I got:
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib.
I copied tools.jar to common/lib but no luck.
However, the jsp examples that come with installation run fine.
Any ideas?
Thanks.


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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Unable to compile class for JSP
 
Similar Threads
Can not run jsp in tomcat 5.0.19
Error
Can�t compile jsp in tomcat 5.0.18
jsp under eclipse are not getting compiled
class-path problem in tomcat.