Sebastian Sachtleben [http://community.jboss.org/people/cosmostunes] created 
the discussion

"JBoss Tools 3.2 CR1 @Inject Warnings"

To view the discussion, visit: http://community.jboss.org/message/584262#584262

--------------------------------------------------------------
Hello,

I'm using the new Jboss Tools 3.2 CR1 from the nightly repository. I'm getting 
some warnings:

@Named
@Startup
public class BootstrapPersistenceAccess {
 
  @Inject Logger log;
  @Inject UserTransaction utx;
 
  ...
 
}


The first injection is the jboss logger with warning: *No bean is eligible for 
injection to the injection point*
The second injection is javax.transaction.UserTransaction with warning: 
*Multiple beans are eligible for injection to the injection point
*

The strange thing is that I inject the logger on other classes also without 
this warning.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/584262#584262]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to