Put $JAVA_HOME/lib/tools.jar on your classpath or in $JBOSS_HOME/lib/ext
> Now when I deploy a JSP in the tomcat and view from the browser it throws
the
> following exception.
>
> Root cause:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
> at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
>
> Please not that I have not included the " jboss/tomcat/lib " in my
CLASSPATH.
> If I do that then the tomcat doesn't start throwing a few more exceptions.
>
> Has anyone faced this problems before.
> Help me Zafer
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user