]
Alexey Kazakov resolved JBIDE-8085.
-----------------------------------
Fix Version/s: 3.2.0.CR1
Resolution: Rejected
Both issues were fixed in 3.2.0.CR1.
#1 - We don't treat interfaces/abstract classes as beans anymore.
#2 - We don't load beans from exclude weld-extensions.jar so there is the only
producer from weld-logger.jar being loaded.
WARNING: Multiple beans are eligible for injection to the injection
point
-------------------------------------------------------------------------
Key: JBIDE-8085
URL:
https://issues.jboss.org/browse/JBIDE-8085
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.Beta2
Environment: eclipse helios, seam 3, jboss AS 6 Final, and I guess that is.
Reporter: José Freitas
Assignee: Alexey Kazakov
Fix For: 3.2.0.CR1
Attachments: seam-javaee-booking-sources.jar
When I use:
import org.jboss.seam.international.status.Messages;
@Inject
private Messages messages;
it says that I have "Multiple beans are eligible for injection to the injection
point"
if I click at Inject holding CTRL, and asks for those eligible beans, it shows that both
the Messages interface and the MessagesImpl are eligible to
this injection. It shouldn't show the interface as an eligible bean.
(did'nt know if I should open another issue, but I guess it's ok to post as one
issue.)
AND when using:
import org.slf4j.Logger;
@Inject
Logger log;
it says that I have "Multiple beans are eligible for injection to the injection
point"
if I click at Inject holding CTRL, and asks for those eligible beans, it shows a
duplicate entry for @Produces Logger.produceLog();
Actually, they are not duplicate, there are 2 methods in two different jars, but they
both produces the same bean, both weld-logger.jar and weld-extensions have this producer
method.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: