You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Adams <ja...@ucar.edu> on 2001/11/16 21:02:27 UTC

NoClassDefFoundError: sun/tools/javac/Main

I am trying to get Tomcat working on an SGI - IRIX machine.  I can get
the example Tomcat page (index.html) as well as the example servlets.
However the example JSPs and my own JSPs are not being served and give
errors, such as:


001-11-16 12:22:04 - Ctx() : Compiling: /dataview/DataCenterFrameset.jsp
to
dataview.DataCenterFrameset_0
2001-11-16 12:22:04 - Ctx() : Class not found:
dataview.DataCenterFrameset_1
2001-11-16 12:22:04 - Ctx() : Status code:404 request:R(  +
/dataview/DataCenterFrameset.jsp +
null) msg:null


and when I try one of the example JSP I get:


java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136,
Compiled Code)
        at
org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:783,
Compiled Code)
        at
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:633,
Compiled Code)
        at
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:446,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833,
Compiled Code)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:161,
Compiled Code)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477,
Compiled Code)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519,
Compiled Code)
        at java.lang.Thread.run(Thread.java:484, Compiled Code)


Can anybody suggest what I might look for in order to correct this
situation ?  I am using Tomcat 3.3 and SGI Irix 6.5.  Thanks in advance
for any suggestions.

-James


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>