2 Replies Latest reply on Oct 4, 2002 1:32 PM by S

    Error while running a JSP from JBoss??

    S Newbie

      I have installed JBoss with its own webserver V3.0.3. I created a web module called emailApp.war with following structure

      emailApp.war
      - sendEmail.jsp
      - emailForm.jsp
      - index.html
      WEB-INF
      - web.xml
      classes
      - SendEmail.class
      lib

      When I go to the browser and try to access the JSP I get following error:

      Warning: Exception for /emailApp/emailForm.jsp java.lang.NoClassDefFoundError: sun/tools/javac/Main ar org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) .............

      Can anyone tell what to do to fix the problem..

      Thx