You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Carlos Araya <el...@valinor.sjsu.edu> on 2000/05/10 02:45:57 UTC

Location of files

I've downloaded the Cocoon RPMs and installed without major probme  and
have been playing with them. When I try to access the first two examples
of XSP, I get the following error

Cocoon 1.7.3

Error found handling the request.

java.lang.NoClassDefFoundError: sun/tools/javac/Main at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:118)
at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:436)
at org.apache.cocoon.Engine.handle(Engine.java:303)
at org.apache.cocoon.Cocoon.service(Cocoon.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:475)

I am using Sun's JDK 1.2.2 On and Apache 1.3.12 server

Any ideas what the probme may be?

Thanks,
Carlos


Re: Location of files

Posted by Berin Loritsch <bl...@infoplanning.com>.
Is $JAVA_HOME/lib/tools.jar in your $CLASSPATH?

Carlos Araya wrote:

> I've downloaded the Cocoon RPMs and installed without major probme  and
> have been playing with them. When I try to access the first two examples
> of XSP, I get the following error
>
> Cocoon 1.7.3
>
> Error found handling the request.
>
> java.lang.NoClassDefFoundError: sun/tools/javac/Main at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:118)
> at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:436)
> at org.apache.cocoon.Engine.handle(Engine.java:303)
> at org.apache.cocoon.Cocoon.service(Cocoon.java:166)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:475)
>
> I am using Sun's JDK 1.2.2 On and Apache 1.3.12 server
>
> Any ideas what the probme may be?
>
> Thanks,
> Carlos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org