yunglin / tapestry-jersey Goto Github PK
View Code? Open in Web Editor NEWJersey Tapestry Integration
Jersey Tapestry Integration
Is latest released version (1.0.2) available under some public repository?
Do you know where com.bluetangstudio.common:masterpom:pom:1.0.1-SNAPSHOT is ?
My tiny test webapp is not responding at http://localhost:8080/myjerseytest/rest/helloworld
But if I configure the maven jetty plugin:
You have to configure the jetty not to use default context path () like so:
org.mortbay.jetty maven-jetty-plugin 6.1.22 / trueAnd now the Jersey responds at:
http://localhost:8080/rest/helloworld
I tried a lot of things, but I couldn't find out how to test my Jersey resources when using Tapestry-Jersey. I only had Exceptions. :-(
I would be very glad if you could provide me with some useful lines of code, as I become more and more frustrated.
Thank you very much.
According to wiki documentation, one should add
public static void contributeFactoryDefaults(MappedConfiguration<String, String> configuration) {
configuration.add(JerseySymbols.REQUEST_PATH_PREFIX, "/myservices");
}
but at webapp startup I get:
2010-08-17 22:16:16.828::WARN: failed app: java.lang.RuntimeException: Exception constructing service 'ComponentClassResolver': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildComponentClassResolver(ComponentClassResolverImpl, InvalidationEventHub) (at TapestryModule.java:1271) (for service 'ComponentClassResolver'): Error invoking constructor org.apache.tapestry5.internal.services.ComponentClassResolverImpl(Logger, ComponentInstantiatorSource, ClassNameLocator, String, String, Collection) (at ComponentClassResolverImpl.java:116) (for service 'ComponentClassResolver'): Exception constructing service 'FactoryDefaults': Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
2010-08-17 22:16:16.828::WARN: Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@35dc95{/,C:\Users\Borut\workspace\manager\src\main\webapp}
java.lang.RuntimeException: Exception constructing service 'ComponentClassResolver': Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildComponentClassResolver(ComponentClassResolverImpl, InvalidationEventHub) (at TapestryModule.java:1271) (for service 'ComponentClassResolver'): Error invoking constructor org.apache.tapestry5.internal.services.ComponentClassResolverImpl(Logger, ComponentInstantiatorSource, ClassNameLocator, String, String, Collection) (at ComponentClassResolverImpl.java:116) (for service 'ComponentClassResolver'): Exception constructing service 'FactoryDefaults': Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
at $ComponentClassResolver_12a81b1ef31.delegate($ComponentClassResolver_12a81b1ef31.java)
at $ComponentClassResolver_12a81b1ef31.isPageName($ComponentClassResolver_12a81b1ef31.java)
at org.apache.tapestry5.services.TapestryModule$38.initializeApplication(TapestryModule.java:2535)
at $ApplicationInitializer_12a81b1ef34.initializeApplication($ApplicationInitializer_12a81b1ef34.java)
at org.tynamo.security.services.SecurityModule$1.initializeApplication(SecurityModule.java:115)
at $ApplicationInitializer_12a81b1ef34.initializeApplication($ApplicationInitializer_12a81b1ef34.java)
at $ApplicationInitializer_12a81b1ef2f.initializeApplication($ApplicationInitializer_12a81b1ef2f.java)
at org.apache.tapestry5.services.TapestryModule$ServletApplicationInitializerTerminator.initializeApplication(TapestryModule.java:297)
at $ServletApplicationInitializer_12a81b1ef15.initializeApplication($ServletApplicationInitializer_12a81b1ef15.java)
at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:102)
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:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
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:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.RuntimeException: Error invoking service builder method org.apache.tapestry5.services.TapestryModule.buildComponentClassResolver(ComponentClassResolverImpl, InvalidationEventHub) (at TapestryModule.java:1271) (for service 'ComponentClassResolver'): Error invoking constructor org.apache.tapestry5.internal.services.ComponentClassResolverImpl(Logger, ComponentInstantiatorSource, ClassNameLocator, String, String, Collection) (at ComponentClassResolverImpl.java:116) (for service 'ComponentClassResolver'): Exception constructing service 'FactoryDefaults': Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:76)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
... 52 more
Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.internal.services.ComponentClassResolverImpl(Logger, ComponentInstantiatorSource, ClassNameLocator, String, String, Collection) (at ComponentClassResolverImpl.java:116) (for service 'ComponentClassResolver'): Exception constructing service 'FactoryDefaults': Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$4.invoke(ServiceResourcesImpl.java:160)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.autobuild(ServiceResourcesImpl.java:146)
at org.apache.tapestry5.ioc.internal.services.AutobuildObjectProvider.provide(AutobuildObjectProvider.java:34)
at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:48)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41)
at $MasterObjectProvider_12a81b1ef16.provide($MasterObjectProvider_12a81b1ef16.java)
at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:806)
at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:233)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:60)
at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:273)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:277)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:240)
at org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:56)
... 68 more
Caused by: java.lang.RuntimeException: Exception constructing service 'FactoryDefaults': Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
at $SymbolProvider_12a81b1ef1e.delegate($SymbolProvider_12a81b1ef1e.java)
at $SymbolProvider_12a81b1ef1e.valueForSymbol($SymbolProvider_12a81b1ef1e.java)
at org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansion.expandSymbol(SymbolSourceImpl.java:123)
at org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl$SymbolExpansion.valueForSymbol(SymbolSourceImpl.java:99)
at org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl.valueForSymbol(SymbolSourceImpl.java:214)
at $SymbolSource_12a81b1ef1a.valueForSymbol($SymbolSource_12a81b1ef1a.java)
at org.apache.tapestry5.ioc.internal.services.SymbolObjectProvider.provide(SymbolObjectProvider.java:49)
at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invoke(MasterObjectProviderImpl.java:48)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:41)
at $MasterObjectProvider_12a81b1ef16.provide($MasterObjectProvider_12a81b1ef16.java)
at org.apache.tapestry5.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:806)
at org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:233)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:60)
at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:273)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:277)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForConstructor(InternalUtils.java:248)
at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:56)
... 91 more
Caused by: java.lang.RuntimeException: Error invoking constructor org.apache.tapestry5.ioc.internal.services.MapSymbolProvider(Map) (at MapSymbolProvider.java:30) via org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at TapestryIOCModule.java:46) (for service 'FactoryDefaults'): Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:76)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
at org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
at org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
at org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
at org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
... 116 more
Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:69)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:46)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:56)
at org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:571)
at org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:522)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:126)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:123)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfiguration(ServiceResourcesImpl.java:121)
at org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getMappedConfiguration(AbstractServiceCreator.java:144)
at org.apache.tapestry5.ioc.internal.AbstractServiceCreator.access$300(AbstractServiceCreator.java:35)
at org.apache.tapestry5.ioc.internal.AbstractServiceCreator$1.findResource(AbstractServiceCreator.java:107)
at org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources.findResource(DelegatingInjectionResources.java:38)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:224)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:60)
at org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:273)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1057)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:277)
at org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParametersForConstructor(InternalUtils.java:248)
at org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:56)
... 132 more
Caused by: java.lang.RuntimeException: Error invoking service contribution method com.artisol.services.AppModule.contributeFactoryDefaults(MappedConfiguration): Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:139)
at org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:88)
at org.apache.tapestry5.ioc.internal.RegistryImpl$7.run(RegistryImpl.java:575)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:50)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:47)
at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
... 155 more
Caused by: java.lang.IllegalArgumentException: Service contribution (to service 'FactoryDefaults') conflicts with existing contribution (by com.bluetangstudio.shared.jersey.services.JerseyModule.contributeFactoryDefaults(MappedConfiguration) (at JerseyModule.java:47)).
at org.apache.tapestry5.ioc.internal.ValidatingMappedConfigurationWrapper.add(ValidatingMappedConfigurationWrapper.java:83)
at com.artisol.services.AppModule.contributeFactoryDefaults(AppModule.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:127)
... 160 more
2010-08-17 22:16:16.846::INFO: Started [email protected]:8080
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.