This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JSP Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JSP Problem" Watch "JSP Problem" New topic

JSP Problem

Spyros Halkidis

Joined: Nov 14, 2002
Posts: 9
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

Joined: Jul 24, 2002
Posts: 401
You probably need tools.jar in your classpath. You should find it in your JDK's lib directory.
I agree. Here's the link:
subject: JSP Problem
It's not a secret anymore!