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

tomcat-users | Stefán F. Stefánsson | 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

    Re: install issue?

    tomcat-users | 2 decades ago | Rick Smith
    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) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) > at org.apache.tomcat.core.Handler.service(Handler.java:286)
  2. 0

    Re: install issue?

    tomcat-users | 2 decades ago | Rick Smith
    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) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) > at org.apache.tomcat.core.Handler.service(Handler.java:286)
  3. 0

    [Tomcat-users] Error 500 - Grokbase

    grokbase.com | 7 months ago
    java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompile r.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:46 2) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.j ava:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNece ssary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Js pServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.ja va:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERROR: 500 using JSP

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

    Tomcat 4.0.4 and Win2k Installation

    Oracle Community | 1 decade ago | 843835
    java.lang.NoClassDefFoundError: sun/tools/javac/Main

    1 unregistered visitors
    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:240)
      3. org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:448)
      4. org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
      5. org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:419)
      6. org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:151)
      7. org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:163)
      8. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:307)
      9. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      9 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    4. org.apache.tomcat
      TcpWorkerThread.runIt
      1. org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
      2. org.apache.tomcat.core.Handler.service(Handler.java:286)
      3. org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      4. org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
      5. org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
      6. org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
      7. org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      7 frames
    5. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:498)
      1 frame