JBoss Community

JBoss Tools 3.2 CR1 @Inject Warnings

created by Sebastian Sachtleben in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community