This is likely a JDK 1.6 problem, resolved in the now-available 5.0.14 by using a newer version of Javassist.
On Thu, Aug 7, 2008 at 7:49 AM, Greg <[EMAIL PROTECTED]> wrote: > Hi all, > > As I have some spare time I'm looking at Tapestry and so I tried two > tutorials, including the official (I guess?) one here > http://tapestry.apache.org/tapestry5/tutorial1/first.html. > However I cannot have it run as the following errors appear when I > enter "mvn jetty:run" (I'll only post the first lines). > I couldn't find any hint using google so I'd appreciate some help :) > > Regards, > Greg > > [INFO] Starting jetty 6.1.9 ... > 2008-08-07 16:46:07.203::INFO: jetty-6.1.9 > 2008-08-07 16:46:08.482::INFO: No Transaction manager found - if your > webapp requires one, please configure one. > [ERROR] TapestryModule.ServletApplicationInitializer Construction of > service ServletApplicationInitializer failed: Unable to > instantiate class org.apache.tapestry5.services.TapestryModule as a > module builder: java.lang.ArrayIndexOutOfBoundsException > java.lang.RuntimeException: Unable to instantiate class > org.apache.tapestry5.services.TapestryModule as a module builder: jav > a.lang.ArrayIndexOutOfBoundsException > at > org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:325) > at > org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253) > at > org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105) > at > org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59) > at > org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at > org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java: > 52) > at > org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50) > at > org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW > rapper.java:60) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65) > at > $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer > ;($ServletApplicationInitializer_11b9da1cfae.java:???) > at > $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat > ionInitializer_11b9da1cfae.java:???) > at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:85) > at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) > at > org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > at > org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) > at org.mortbay.jetty.Server.doStart(Server.java:222) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at > org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:357) > at > org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:293) > Caused by: java.lang.ArrayIndexOutOfBoundsException > at > org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:239) > at > org.apache.tapestry5.ioc.internal.ModuleImpl.instantiateModuleBuilder(ModuleImpl.java:306) > at > org.apache.tapestry5.ioc.internal.ModuleImpl.getModuleBuilder(ModuleImpl.java:253) > at > org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getModuleBuilder(ServiceResourcesImpl.java:105) > at > org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:59) > at > org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at > org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java: > 52) > at > org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:50) > at > org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckW > rapper.java:60) > at > org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:65) > at > $ServletApplicationInitializer_11b9da1cfae._delegate()Lorg.apache.tapestry5.services.ServletApplicationInitializer > ;($ServletApplicationInitializer_11b9da1cfae.java:???) > at > $ServletApplicationInitializer_11b9da1cfae.initializeApplication(Ljavax.servlet.ServletContext;)V($ServletApplicat > ionInitializer_11b9da1cfae.java:???) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]