JBoss Community

Re: Cannot inject field annotated with @Resource annotation in JBOSS 6

created by Amber Crawford in Datasource Configuration - View the full discussion

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

Start a new discussion in Datasource Configuration at Community