java.lang.NoClassDefFoundError: sun/tools/javac/Main

struts-user | Pratik | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    strusts examples + Tomcat 3.1

    struts-user | 2 decades ago | Pratik
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
  2. 0

    strusts examples + Tomcat 3.1

    struts-user | 2 decades ago | Pratik
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
  3. 0

    JSP programs not running

    jakarta-slide-user | 2 decades ago | Naresh Ganatra
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jsp on Tomcat-apache

    Oracle Community | 2 decades ago | 843833
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
  6. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/tools/javac/Main

      at org.apache.jasper.compiler.SunJavaCompiler.compile()
    2. GWT dev
      JspServlet.service
      1. org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
      2. org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
      3. org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
      4. org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
      5. org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
      6. org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
      7. org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
      7 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    4. org.apache.tomcat
      DefaultServlet.doGet
      1. org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
      2. org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
      3. org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
      3 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    6. org.apache.tomcat
      TcpConnectionThread.run
      1. org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
      2. org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
      3. org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
      4. org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
      4 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame