cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject NoClassDefFoundError for chaperon
Date Wed, 26 Nov 2008 08:05:30 GMT
Hi all,

I got a new computer and needed to move my development environment. By
this move my cocoon-2.2 app blew up but big time. Further network
problems caused a rather unpleasant experience with maven.

However to get around the nightmare I install all released jars from
cocoon-2.2.0.tar.gz and a version of chaperon that I still found on my
old box. 

mvn install:install-file -DgroupId=org.apache.cocoon
-DartifactId=cocoon-chaperon-impl -Dversion=1.0.0-SNAPSHOT
-Dpackaging=jar -Dfile=cocoon-chaperon-impl-1.0.0-SNAPSHOT.jar

However if I now start the dispatcher block with jetty:run it blows up.

java.lang.RuntimeException: Cannot invoke listener
org.springframework.web.context.ContextLoaderListener@9ba134
        at
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.invoke(ReloadingListener.java:190)
        at
org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingListener.contextInitialized(ReloadingListener.java:213)
        at
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
        at
org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
....
Caused by:
org.springframework.beans.factory.BeanDefinitionStoreException: Unable
to read Avalon configuration from
'resource://org/apache/cocoon/cocoon.xconf'.; nested exception is
org.apache.avalon.framework.configuration.ConfigurationException: Unable
to create class for component with role
org.apache.cocoon.transformation.Transformer/parser with class:
org.apache.cocoon.transformation.ParserTransformer
        at
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse(BridgeElementParser.java:86)
        at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
...
Caused by:
org.apache.avalon.framework.configuration.ConfigurationException: Unable
to create class for component with role
org.apache.cocoon.transformation.Transformer/parser with class:
org.apache.cocoon.transformation.ParserTransformer
        at
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.createConfig(BridgeElementParser.java:216)
        at
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.createComponents(BridgeElementParser.java:131)
        at
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse(BridgeElementParser.java:80)
        ... 56 more
Caused by: java.lang.NoClassDefFoundError:
net/sourceforge/chaperon/process/ParserProcessor
        at java.lang.ClassLoader.defineClass1(Native Method)

I was looking for another version of the chaperon block but with no
luck.
http://cocoon.apache.org/2.2/blocks/ does not list it and in
http://repo2.maven.org/maven2/org/apache/cocoon/ isn't anything either.

How can I fix the issue, ANY input is very welcome.

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la InformaciĆ³n, S.A.U. (SADESI)





Mime
View raw message