tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cri_sys <ser...@gmail.com>
Subject javax.el.PropertyNotFoundException in JSF
Date Tue, 10 Jul 2012 22:56:38 GMT
Hello,
I have been trying to get change from faces ManagedBean to Named, CDI... But
with no success so far..
I am getting..
Caused by:
javax.el.PropertyNotFoundException - Target Unreachable, identifier
'loginBean' resolved to null
at org.apache.el.parser.AstValue.getTarget(AstValue.java:98)

So for some reason the Named is not injecting properly the class.
the class is already anotatted with.
@Named
@SessionScoped
from the right packages>
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

And i the beans.xml is already in the WEB-INF

In fact, i created a standalone application test adding all of the Tomee
libs and it worked, but in my project which works with maven, is not
injecting.
For some reason is not finding the annotated classes.
Is there any dependency that im missing on maven, or any other configuration


Thanks

--
View this message in context: http://openejb.979440.n4.nabble.com/javax-el-PropertyNotFoundException-in-JSF-tp4656218.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message