This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | No enabled eligible for injection beans are found | ||
---|---|---|---|
Product: | javaee | Reporter: | dwuysan <dwuysan> |
Component: | CDI | Assignee: | Denis Anisimov <ads> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | marfous |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dwuysan
2011-12-05 06:59:54 UTC
Please provide steps to reproduce, attach messages.log and reopen. Thanks in advance. http://wiki.netbeans.org/FaqLogMessagesFile There is really no need for messages.log (not even sure if it is logged). All that is required is to create a CDI ApplicationScoped bean (in this case, it is also a Singleton EJB), and inject that to a Stateless Session Bean EJB. At the @Inject injection point of the Stateless Session Bean EJB, this warning displayed in the IDE. The application runs and behaves as expected. Thanks for reporting, reassigning to the correct component. Please read http://netbeans.org/bugzilla/show_bug.cgi?id=201825#c6 Your case is the same. The reason why the application works correctly in runtime : the runtime doesn't confirm to the CDI spec. *** This bug has been marked as a duplicate of bug 201825 *** |