Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Problem

 
Spyros Halkidis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
when I try to load a jsp page that is included in
a war file that I have deployed on JBoss with Tomcat, I get the following error:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
Does anybody know how I can solve this problem?
Thanks in advance,
Spyros Halkidis
 
Dave Landers
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably need tools.jar in your classpath. You should find it in your JDK's lib directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic