cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2] Problem running from command line
Date Mon, 16 Apr 2001 16:32:38 GMT

Do a "build dist" first and in the dist dir use the ./run.sh script to
run C2 from commandline

Giacomo

On Mon, 16 Apr 2001, Klaus-Hendrik Wolf wrote:

> Hi,
>
> I tried to run Cocoon2 from the command line, but because I am quite new to
> cocoon and Java as well, I can't get it running.
> Cocoon _is_ working as a servlet.
>
> Although I added all .jar files in the cocoon's /lib directory, I get the
> following error:
> C:\temp\cocoon2\xml-cocoon\build\cocoon>java -jar
> C:\temp\cocoon2\xml-cocoon\build\cocoon\cocoon.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/xml/sax/EntityResolver
>          at java.lang.ClassLoader.defineClass0(Native Method)
>          at java.lang.ClassLoader.defineClass(Unknown Source)
>          at java.security.SecureClassLoader.defineClass(Unknown Source)
>          at java.net.URLClassLoader.defineClass(Unknown Source)
>          at java.net.URLClassLoader.access$100(Unknown Source)
>          at java.net.URLClassLoader$1.run(Unknown Source)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at java.net.URLClassLoader.findClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClass(Unknown Source)
>          at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>
> The xalan-2.0.1.jar is in the classpath and i can see the
> org/xml/sax/EntityResolver.class file in it.
>
> Any suggestions?
>
> Thanks in advance!
>
> Happy Easter
>
>    Klaus Hendrik
>
> --
>
> Klaus-Hendrik Wolf
>
> Institute for Medical Informatics
> Braunschweig University of Technology
> Fallersleber-Tor-Wall 22        Tel: +49-531-391-21 27
> 38100 Braunschweig      Fax: +49-531-391-21 31
> Germany                           http://khw.ifmi.org
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message