cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jessica Perry Hekman <jphek...@arborius.net>
Subject Cocoon from the command line
Date Fri, 25 Aug 2000 12:52:14 GMT
I'm trying to use Cocoon from the command line (for which I can't find a
lot of documentation; am I looking in the wrong place? Are there any usage
guidelines?), and I'm getting the following error. I thought a servlet
engine was optional for command line use, so it's likely I'm just doing
the wrong thing on the command line. Help?

Thanks,

Jessica

[jphekman@pendaran cocoon]$ java org.apache.cocoon.Cocoon ~/projects/invoice/sample.xml
Exception in thread
"main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled
Code)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java, C
ompiled Code)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java,
Compiled Cod
e)
        at java.net.URLClassLoader.access$1(URLClassLoader.java, Compiled
Code)
        at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled
Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled
Code)
        at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled
Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java,
Compiled Co
de)
        at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled
Code)



Mime
View raw message