cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Hughes <j...@redknee.com>
Subject RE: NoClassDefFoundError: sun/tools/javac/Main
Date Thu, 24 Feb 2000 05:02:47 GMT
Verify that you have "tools.jar" in the JServ classpath.
jserv.properties files:
wrapper .... tools.jar
"tools.jar" will be found in your jdk1.2.x/lib directory.

Joel
joel@redknee.com

-----Original Message-----
From: Terry Paddy [mailto:terry@rostersetc.com]
Sent: Wednesday, February 23, 2000 11:35 PM
To: cocoon-users@xml.apache.org
Subject: NoClassDefFoundError: sun/tools/javac/Main


Hello Cocoon users,

I've installed Cocoon 1.6.1 on Linux 6.1/JServ 1.1 and am running the
examples in the samples/index.xml file. Running the "First XSP Page" example
gives the following error ...

java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJa
vaProcessor.java, Compiled Code)
	at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
	at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
	at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
	at org.apache.jserv.JServConnection.run(JServConnection.java,
Compiled
Code)
	at java.lang.Thread.run(Thread.java, Compiled Code)

Sorry, I'm not a Java person, where should I look? I've checked the basics,
like the jserv.properties ...

wrapper.classpath=/usr/local/java/Cocoon.jar
wrapper.classpath=/usr/local/java/fop_bin0_12_0.jar
wrapper.classpath=/usr/local/java/xalan.jar
wrapper.classpath=/usr/local/java/xerces.jar

and the "Hello World" xml demo works.

Thanks ...

Terry,
Christchurch - New Zealand


---------------------------------------------------------------------
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