Maik Wiege wrote:
> Hello,
> I'm using tomcat and for Servlets everything works fine. But Jasper
> doesn't work. Calling any JSP-File end up in a Internal Server Error and the
> following Exception was thrown:
>
> java.lang.NoClassDefFoundError: sun/tools/javac/Main

<snip stack trace caused by the compiler classes not being found>

> Has anyone any idea, what I can do to fix it?

Yes - make sure the tools.jar file that came with JDK1.2+ is in your
classpath; the easiest way to accomplish this is to make sure your JAVA_HOME
environment variable is set to the directory the JDK is installed in, as the
Tomcat startup script will then add it automatically.

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
np: Metasonica - Oceanic (ambient.01@hyperreal comp.)

Reply via email to