You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by cib <c....@laposte.net> on 2001/11/16 14:45:09 UTC

Command line pb

Hi
I'm using c-2.0rc1 on win95 with Tomcat4 and j2sdk1.4.0

I tried this:
G:\Tomcat\webapps\cocoon>java -jar G:\Tomcat\webapps\cocoon\WEB-INF\lib\cocoon-2.0rc1.jar http://localhost:8080/cocoon/test/set.html yyy.html

And got an enormous debug 10059 file ending with:
(same result with Tomcat running or down)

Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/Servlet
Config
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1581)
        at java.lang.Class.getConstructor0(Class.java:1753)
        at java.lang.Class.newInstance0(Class.java:271)
        at java.lang.Class.newInstance(Class.java:254)
        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInst
ance(Unknown Source)
        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.init
ialize(Unknown Source)
        at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initi
alize(Unknown Source)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:201)
        at org.apache.cocoon.Main.main(Main.java:313)

Can someone tell me which file is missing? 
To which place I should put them?
Or is my source file url wrong?

Thanks for answering.

(I don't put the debug file here, it's a bit too heavy to be posted on the list. )
cib

France, Bordeaux, xml and gay pride.