This exception arises because tools.jar isn't visible. You need to set
JAVA_HOME to point to your jdk installation (if you haven't already done
that). If you have set JAVA_HOME and your servlets run, but jsps don't then
you could either:
1) Create a symbolic link between JAVA_HOME/lib/tools.jar and
CATALINA_HOME/lib directory
2) Or you could copy tools.jar to your CATALINA_HOME/lib directory.
Thanks
RS
"Sergio I. Lima" <[EMAIL PROTECTED]> on 03/08/2002 10:50:30 AM
Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
cc:
Subject: Trouble with Jsp
Hello:
I have a Red Hat Linux 7.2 box installed with: IBMJAVA 2-13 and TOMCAT
4.0.2, I Installed the binary rpm versions of this packages . When I try
to
access any Jsp page (tomcat jsp examples included) show me the following
error:
Exeption:
javax.servlet.ServletExecption: /sun/tools/javac/Main
root cause:
java.lang.NoClassDefFoundError: /sun/tools/javac/Main
Please help me.
Ivan
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>