Amber Crawford [
https://community.jboss.org/people/amberjboss1999] created the discussion
"Re: Cannot inject field annotated with @Resource annotation in JBOSS 6"
To view the discussion, visit:
https://community.jboss.org/message/725919#725919
--------------------------------------------------------------
I think a lot of developers would probably appreciate the solution. This is simply solved
by not using @Resource, instead you can use @Autowired, and/or with combination of
@Qualifier, with the point being taking component scanning of @Resource out of the
equation.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/725919#725919]
Start a new discussion in Datasource Configuration at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]