You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Shing Hing Man <ma...@yahoo.com> on 2011/06/26 00:02:33 UTC
Tap 5.3.0 and TapX-core 1.2-SNAPSHOT
Hi,
I have the following runtime exception when I launch Tap 5.3.0 in Jetty.
java.lang.RuntimeException: Service id 'DynamicTemplateParser' has already been defined by com.howardlewisship.tapx.core.services.CoreModule.buildDynamicTemplateParser(DynamicTemplateParserImpl, UpdateListenerHub) (at CoreModule.java:127) and may not be redefined by org.apache.tapestry5.internal.dynamic.DynamicTemplateParserImpl(ClasspathURLConverter, BindingSource, PageSource) (at DynamicTemplateParserImpl.java:42) via org.apache.tapestry5.services.TapestryModule.bind(ServiceBinder) (at TapestryModule.java:440). You should rename one of the service builder methods.
at org.apache.tapestry5.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:226)
at org.apache.tapestry5.ioc.RegistryBuilder.build(RegistryBuilder.java:178)
at org.apache.tapestry5.internal.TapestryAppInitializer.createRegistry(TapestryAppInitializer.java:216)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:95)
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.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 RunTestTapestry5.main(RunTestTapestry5.java:31)
Is it a bug ?
Thanks advance for any assistance !
Shing
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tap 5.3.0 and TapX-core 1.2-SNAPSHOT
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Sat, 25 Jun 2011 19:02:33 -0300, Shing Hing Man <ma...@yahoo.com>
wrote:
> Hi,
Hi!
> Is it a bug ?
No. :) The Dynamic component from TapX, along with the
DynamicTemplateParser service, was added to Tapestry.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org