2 Replies Latest reply on Apr 23, 2002 7:30 AM by crozierb

    jsp compiling error

    roman0013

      hi!
      i've problems to get my helloWorld .jsp to work...
      i deployed a webapp test.war and opened http://myserver:8080/test2/helloWorld.jsp.
      the result is an internal server exception.

      i'm using jboss 2.4.4 with tomcat 4.0.1.

      thanx for help!

      exception
      javax.servlet.ServletException: sun/tools/javac/Main
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      ...

      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:271)
      at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
      ...