Em Wed, 21 Jan 2009 16:23:45 -0300, Sid Ferreira <sid....@gmail.com>
escreveu:
Based on http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im
getting this error... Why?
As any error in Java, the first thing to do is to look at the stack trace:
No service implements the interface
tibox.allert.fastSupport.services.UserSessionImpl.
Read the Tapestry-IoC documentation because the problem lies in your T-IoC
configuration. Don't forget to read this page:
http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html.
(Sorry, second RTFM today, hehehe) :)
By the way, I think there's an error in this constructor:
public AccessController(ApplicationStateManager asm,
ComponentClassResolver resolver, ComponentSource componentSource,
UserSessionImpl newUserSession)
Instead of UserSessionImpl, I think it should be UserSession, the
interface declared in that wiki page.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org