• 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
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic