You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Chris Mylonas <ch...@mrvoip.com.au> on 2010/09/08 04:28:38 UTC
ANTLR + JBoss 5.1.0 + Tapestry 5.1.0.5 - NoClassDefFoundError
Howdy,
My first guess is that I've got a bit of a problem with ANTLR by the looks of it - maybe version numbers different between what tapestry expects and what jboss is supplying?
Can anyone shed any light on this?
It's a tapestry 5.1.0.5, jboss 5.1.0 setup.
This is thrown at the top of the error stack:
12:15:14,245 ERROR [RequestExceptionHandler] Processing of request failed with uncaught exception: org/antlr/runtime/CharStream
java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructors(Class.java:1459)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.findAutobuildConstructor(InternalUtils.java:628)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$4.invoke(ServiceResourcesImpl.java:150)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
<...snip...>
Caused by: java.lang.ClassNotFoundException: org.antlr.runtime.CharStream from BaseClassLoader@40c798c4{VFSClassLoaderPolicy@6ffe8d15{name=vfszip:/Users/chrismylonas/Documents/_17_Software/_13_JBoss/jboss-5.1.0.GA/server/all/deploy/vladminchris.ear
server/all/log/server.log has this
2010-09-08 12:21:39,308 ERROR [org.apache.tapestry5.ioc.Registry] (http-127.0.0.1-8080-1) Construction of service 'PropertyConduitSource' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl, InvalidationEventHub) (at TapestryModule.java:1341) for references to another service that is itself dependent on service 'PropertyConduitSource'.
2010-09-08 12:21:39,309 ERROR [org.apache.tapestry5.ioc.Registry] (http-127.0.0.1-8080-1) Operations trace:
2010-09-08 12:21:39,309 ERROR [org.apache.tapestry5.ioc.Registry] (http-127.0.0.1-8080-1) [ 1] Realizing service PropertyConduitSource
2010-09-08 12:21:39,309 ERROR [org.apache.tapestry5.services.TapestryModule.RequestExceptionHandler] (http-127.0.0.1-8080-1) Processing of request failed with uncaught exception: Exception assembling root component of page voicemail/VMAccounts: Exception assembling embedded component 'grid' (of type org.apache.tapestry5.corelib.components.Grid, within voicemail/VMAccounts): Could not convert 'pagerTop' into a component parameter binding: Exception constructing service 'PropertyConduitSource': Construction of service 'PropertyConduitSource' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl, InvalidationEventHub) (at TapestryModule.java:1341) for references to another service that is itself dependent on service 'PropertyConduitSource'.
java.lang.RuntimeException: Exception assembling root component of page voicemail/VMAccounts: Exception assembling embedded component 'grid' (of type org.apache.tapestry5.corelib.components.Grid, within voicemail/VMAccounts): Could not convert 'pagerTop' into a component parameter binding: Exception constructing service 'PropertyConduitSource': Construction of service 'PropertyConduitSource' has failed due to recursion: the service depends on itself in some way. Please check org.apache.tapestry5.services.TapestryModule.buildPropertyConduitSource(PropertyConduitSourceImpl, InvalidationEventHub) (at TapestryModule.java:1341) for references to another service that is itself dependent on service 'PropertyConduitSource'.
at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:110)
server/all/log/boot.log has this
DelegatingHandler@1042994848[path=antlr.jar context=file:/Users/chrismylonas/Documents/_17_Software/_13_JBoss/jboss-5.1.0.GA/common/lib/ real=file:/Users/chrismylonas/Documents/_17_Software/_13_JBoss/jboss-5.1.0.GA/common/lib/antlr.jar]
Extra info: It's my first jboss-5.1 project with tapestry 5.1.0.5
Cheers
Chris