[jbosstools-issues] [JBoss JIRA] (JBIDE-17574) Warning missing when trying to inject bean without specified scope

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Jun 10 16:31:15 EDT 2014


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

Viacheslav Kabanovich edited comment on JBIDE-17574 at 6/10/14 4:30 PM:
------------------------------------------------------------------------

1. Please check that CDI project created in (4) has library cdi-api-1.1.jar. Without this library, CDI project is considered to be of version 1.0.

2. If the second CDI project also has bean-discovery-mode="annotated", then bean Test must have a scope annotation to be discovered and validated. 


was (Author: scabanovich):
Please check that CDI project created in (4) has library cdi-api-1.1.jar. Without this library, CDI project is considered to be of version 1.0.

> Warning missing when trying to inject bean without specified scope
> ------------------------------------------------------------------
>
>                 Key: JBIDE-17574
>                 URL: https://issues.jboss.org/browse/JBIDE-17574
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Rastislav Wagner
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Beta3
>
>
> If Im not mistaken, we should show warning when trying to inject bean without specified scope and bean-discovery-mode="annotated"



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list