File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!