cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artur Matos <>
Subject Problems using the HTMLGenerator in command line mode 2.1
Date Wed, 03 Sep 2003 11:21:50 GMT
Hi to all,

I am having some problems using the HTML generator with the new
Cocoon 2.1 CLI. The code that I am using was working flawlessy with
the previous Cocoon 2.0.4, so I guess this should be some
problem with the new version. I tried to match a very simple pipeline,
one that generates one HTML file from the filesystem using the HTML
generator, and serializes it into XML, without any further steps in between. I got the following

[java] Cannot find
     [java] Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletInputStream
     [java]     at java.lang.Class.getDeclaredConstructors0(Native Method)
     [java]     at java.lang.Class.privateGetDeclaredConstructors(

Because I am using only theCLI, I had lots of blocks excluded, and my Webapp didn't include
servlet_2.2.jar file. I copied it, and tried to run the CLI again. I got the following error

 [java] Exception in thread "main" java.lang.NullPointerException
     [java]     at org.apache.cocoon.generation.HTMLGenerator.setup(
     [java]     at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(
     [java]     at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(

Does anyone on this list had the same problem? Thanks in advance.

Artur Matos.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message