cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@betaversion.org>
Subject Re: java.lang.NoClassDefFoundError with XSP
Date Thu, 26 Jul 2001 23:44:27 GMT
Scrive Mamadou Bobo Sylla <bobo@ewarna.com>:

> I am using Tomcat 3.2.1 integrated with cocoon-1.8.2
> 
> I have succesfully tested all the cocoon samples except XSP examples.
> I am always getting :java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
> 
> I have already the JDK_HOM/lib/tools.jar on my system classpath (through
> autoexec.bat). I have also copied tools.jar into tomcat/lib/ and run the
> sample afterwards. Yet I am still getting the same error!!
> 
> Am I missing anything?
> 
> Please I urgently need your help.
> 
> Bobo,
> 
> THE FULL ERROR MESSAGE:
> 
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> 	at
> org.apache.cocoon.processor.xsp.language.java.SunJavaCompiler.compile
(SunJavaCompiler.java:68)
> 	at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile
(XSPJavaProcessor.java:132)
> 	at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:522)
> 	at org.apache.cocoon.Engine.handle(Engine.java:384)
> 	at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> 	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)
> 	at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 	at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:210)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> 

Please, ask such questions to the cocoon-users mail list.

Thanks.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message