You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joop van Duin <ja...@hotmail.com> on 2001/10/28 15:02:26 UTC
Help needed with xsp cocoon error
Hello
My name is Joop and I want to use xsp through cocoon.
I'm using the Apache server 1.3.22 (Win32) as server and ApacheJServ 1.1.2
as servlet engine.
I get the following error:
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:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Unknown Source)
Where ever I look on the Internet I get the advice to include tools.jar in
my servlet engine class path or system class path. I did do all of that but
that doesn't work!
Do you have any other suggestions?
Thank you
Best Regards
Joop van Duin
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Help needed with xsp cocoon error
Posted by Jozsa Kristof <dy...@kami.vein.hu>.
On Sun, Oct 28, 2001 at 02:02:26PM +0000, Joop van Duin wrote:
> Hello
>
> My name is Joop and I want to use xsp through cocoon.
>
> I'm using the Apache server 1.3.22 (Win32) as server and ApacheJServ 1.1.2
> as servlet engine.
>
> I get the following error:
>
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
most likely javac.jar is which you want to drop into the right place (eg.
webapps/cocoon/WEB-INF/lib or something similar).
best regards,
Christopher
--
.Digital.Yearning.for.Networked.Assassination.and.Xenocide
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>