tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nael Mohammad <nmoham...@neomar.com>
Subject java.lang.NoClassDefFoundError: sun/tools/javac/Main
Date Fri, 02 Feb 2001 02:19:57 GMT
In English, what does this error mean. I suspect that it is looking for a
java class which it can't find. Help People. What is the next logical step
here?
I don't want tomcat acting as an HTTP server, just jserv. What do I need to
do?

javax.servlet.ServletException: sun/tools/javac/Main
	at java.lang.Throwable.fillInStackTrace(Native Method)
	at java.lang.Throwable.fillInStackTrace(Compiled Code)
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(Compiled
Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
led Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
	at java.lang.Thread.run(Thread.java:479)

Root cause: 
java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at org.apache.jasper.compiler.SunJavaCompiler.compile(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	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(JspSe
rvlet.java:152)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled
Code)
	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(Compiled
Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
led Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
	at java.lang.Thread.run(Thread.java:479)

Mime
View raw message