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


Solutions on the web73

Solution icon of apache
via tomcat-users by Stefán F. Stefánsson, 8 months ago
sun/tools/javac/Main

Solution icon of apache
via tomcat-users by tom, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 843835, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 843835, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 843833, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 843840, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 843840, 1 year ago
sun/tools/javac/Main

Solution icon of googlegroups
via Google Groups by Timothy G., 1 year ago
sun/tools/javac/Main

Solution icon of apache
via tomcat-users by tom, 1 year ago
sun/tools/javac/Main

Solution icon of oraclecommunity
via Oracle Community by 807592, 1 year ago
sun/tools/javac/Main

Stack trace

java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:536)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago