Double check that you don't have both tapestry 5.3 and 5.4 jars in your class
path.
-Tony
> On Nov 15, 2014, at 3:03 PM, Jan Fryblik <jan.fryb...@ebrothers.cz> wrote:
>
> HI guys,
>
> i'm currently migrating from 5.3.7 to 5.4-beta-22 and i'm stuck with strange
> exception (below) comming from HibernateModule. I have removed all
> MethodAdvice references from my project, but without any effect. Could you
> please give me a hint what can be a reason? Thanks for any comments.
>
>
> 19:49:44 [INFO] ioc.RegistryBuilder Adding module definition for class
> org.got5.tapestry5.jquery.services.JQueryModule
> 19:49:44 [INFO] ioc.RegistryBuilder Adding module definition for class
> org.got5.tapestry5.jquery.services.js.JSModule
> 19:49:44 [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.hibernate.modules.HibernateModule
> failed Catalog: java.lang.NoClassDefFoundError:
> org/apache/tapestry5/ioc/MethodAdvice
> failed
> org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext@4506b213{/catalog-web,/mnt/ebrothers/katalog/src/Catalog/catalog-web/src/main/webapp}:
> java.lang.NoClassDefFoundError: org/apache/tapestry5/ioc/MethodAdvice
> failed ContextHandlerCollection@7dd4d950: java.lang.NoClassDefFoundError:
> org/apache/tapestry5/ioc/MethodAdvice
> failed HandlerCollection@7391bf69: java.lang.NoClassDefFoundError:
> org/apache/tapestry5/ioc/MethodAdvice
> Error starting handlers
> java.lang.NoClassDefFoundError: org/apache/tapestry5/ioc/MethodAdvice
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:340)
> at org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:159)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:132)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:105)
> at
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:76)
> at
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:123)
> at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:97)
> at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:662)
> at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
> at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
> at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
> at
> org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext.doStart(JettyPluginWebAppContext.java:112)
> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>
>
> Have a nice weekend,
> Jan
Since 1982, Starpoint Solutions has been a trusted source of human capital and
solutions. We are committed to our clients, employees, environment, community
and social concerns. We foster an inclusive culture based on trust, respect,
honesty and solid performance. Learn more about Starpoint and our social
responsibility at http://www.starpoint.com/social_responsibility
This email message from Starpoint Solutions LLC is for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message. Opinions, conclusions and
other information in this message that do not relate to the official business
of Starpoint Solutions shall be understood as neither given nor endorsed by it.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org