Hello,
i created a session bean using the @Named annotation:
@Named("login")
@SessionScoped
public class LoginForm implements Serializable
:
the session bean in accessible in jsf, all works well. Until i add a logger:
private static final Logger log = Logger.getLogger(LoginForm.class);
after adding this line the bean is not longer accessible and i get the following exception:
javax.servlet.ServletException: javax.el.PropertyNotFoundException: /login.xhtml @26,38 action="#{login.setName(name)}": Target Unreachable, identifier 'login' resolved to null
For some reason the bean is invalid, but the log doesnt show anything.
thy for help
BJ