I'm guessing from this:

java.lang.RuntimeException No service implements the interface tibox.allert.fastSupport.services.UserSessionImpl.

That you're binding the implementing class instead of the interface class.

Carl

Chris Lewis wrote:
And also how exactly you bind your service implementation in your app module.

Stephane Decleire wrote:
Hi

Could you show us the code of your class
tibox.allert.fastSupport.services.UserSessionImpl ?

Stephane

Sid Ferreira a écrit :
Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im
getting this error... Why?


java.lang.RuntimeExceptionException constructing service 'MasterDispatcher':
Error invoking service builder method
org.apache.tapestry5.services.TapestryModule.buildMasterDispatcher(List) (at TapestryModule.java:1144) (for service 'MasterDispatcher'): Error invoking
service contribution method
tibox.allert.fastSupport.services.AppModule.contributeMasterDispatcher(OrderedConfiguration, Dispatcher): Error building service proxy for service 'AccessController' (at tibox.allert.fastSupport.services.AccessController(ApplicationStateManager,
ComponentClassResolver, ComponentSource, UserSessionImpl) (at
AccessController.java:26) via
tibox.allert.fastSupport.services.AppModule.bind(ServiceBinder) (at
AppModule.java:27)): Error invoking constructor
tibox.allert.fastSupport.services.AccessController(ApplicationStateManager,
ComponentClassResolver, ComponentSource, UserSessionImpl) (at
AccessController.java:26) via
tibox.allert.fastSupport.services.AppModule.bind(ServiceBinder) (at
AppModule.java:27) (for service 'AccessController'): No service implements
the interface tibox.allert.fastSupport.services.UserSessionImpl.
org.apache.tapestry5.ioc.internal.OperationExceptionNo service implements
the interface tibox.allert.fastSupport.services.UserSessionImpl.
trace

   - Realizing service MasterDispatcher
   - Invoking
org.apache.tapestry5.services.TapestryModule.buildMasterDispatcher(List) (at
   TapestryModule.java:1144)
   - Collecting ordered configuration for service MasterDispatcher
   - Invoking method
tibox.allert.fastSupport.services.AppModule.contributeMasterDispatcher(OrderedConfiguration,
   Dispatcher) (at AppModule.java:39).
   - Determining injection value for parameter #2
   (org.apache.tapestry5.services.Dispatcher)
   - Creating service 'AccessController'.
   - Determining injection value for parameter #4
   (tibox.allert.fastSupport.services.UserSessionImpl)

java.lang.RuntimeExceptionNo service implements the interface
tibox.allert.fastSupport.services.UserSessionImpl.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to