[jbosstools-issues] [JBoss JIRA] (JBIDE-12518) JBDS shows "false" "no bean is eligible" warnings for WELD

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Aug 30 16:01:33 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714950#comment-12714950 ] 

Alexey Kazakov commented on JBIDE-12518:
----------------------------------------

1) You have to select the alterantive in beans.xml to make it available for injection, don't you?
                
> JBDS shows "false" "no bean is eligible" warnings for WELD
> ----------------------------------------------------------
>
>                 Key: JBIDE-12518
>                 URL: https://issues.jboss.org/browse/JBIDE-12518
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>            Reporter: Shay Matasaro
>
> JBDS shows WELD "no bean is eligible"
>  warnings that are not correct in the following situations:
> 1) Taking Class A and Class B, and where B is marked as @Alternative , and injected into A. 
> 2)  @Parameters String[] paramsArray
> 3) @Inject BoundRequestContext boundRequestContext; 
> 4) @Inject BoundSessionContext boundSessionContext;

--
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