cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian G. Haas" <f.g.h...@gmx.net>
Subject Re: Im a bit stuck with Cocoon 2.1 - Offline Page Generation
Date Mon, 01 Sep 2003 18:14:52 GMT
Hello Tom,

| 7.	I get the following error
|
| Cannot find CatalogManager.properties
|
| Exception in thread "main" java.lang.reflect.InvocationTargetException .

Does this look familiar?

Cannot find CatalogManager.properties
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: 
javax/servlet/http/HttpSessionBindingListener
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
...

If it does, join the club. :-) I ran into that one too. Add the Java servlet 
API to your classpath (which usually means copying servlet-2.2.jar into 
build/WEB-INF/lib).

Just out of curiosity, Upayavira and other CLI experts: Is this behavior by 
design? It seems a bit odd to have to have the servlet API available to the 
Java runtime when using offline generation...

Best regards,
Florian



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message