[jbosstools-issues] [JBoss JIRA] (JBIDE-12575) Problem with CDI validator
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Tue Sep 11 12:50:32 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717608#comment-12717608 ]
Daniel Azarov commented on JBIDE-12575:
---------------------------------------
I tried to reproduce it with jbdevstudio-product-universal-6.0.0.Alpha1-v20120908-0346-H22.jar:
What I did:
1. Created dynamic web project
2. Added cdi-api.jar and javax.inject.jar to the project
3. Created Test bean as described in Steps to Reproduce
4. Added CDI support
5. rebuilded the project
RESULT:
I got @Injected annotation marked with problem "Multiple beans are eligible for injection to the injection point [JSR-299 §5.2.1]"
What did I wrong? :)
> Problem with CDI validator
> --------------------------
>
> Key: JBIDE-12575
> URL: https://issues.jboss.org/browse/JBIDE-12575
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI
> Affects Versions: 4.0.0.Alpha1
> Reporter: Jaroslav Jankovič
> Assignee: Jaroslav Jankovič
> Fix For: 4.0.0.Alpha1
>
>
> There is a problem to force CDI validator to work. In my case, I created simple dynamic web project without CDI support, added some bean with Multiple beans eligible case (message not present yet). Add CDI support into project. Expected validation messages won't appear - cleaning the project doesn't help either.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list