Alessio Sangalli wrote:

<snip/>

$ java -classpath . org.apache.cocoon.Main
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/CascadingException
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
etc etc etc..........


I tried to unzip the jar, to go directly inside and call Main.class from its own dir, etc


what can I do...!

You should set the correct class path ;-)

Look at the stack trace : one of the first classes loaded from Avalon by Cocoon can't be found. That's because your classpath is set to "." and so includes only Cocoon's own classes (guessing you start this from the "build/classes" directory).

Hope this helps,
Sylvain

--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to