This content has been marked as final.
Show 4 replies
-
1. Re: Problem with validation for CDI Injection points
akazakov Aug 31, 2010 9:47 AM (in response to fabricio.lemos)Yes, it should.
Could you show the code?
-
2. Re: Problem with validation for CDI Injection points
fabricio.lemos Aug 31, 2010 10:24 AM (in response to akazakov)Bean on war project:
{code}
import javax.enterprise.inject.Model;
import javax.inject.Inject;import test.ExampleBean;
@Modelpublic class ExampleModel {
@Injectprivate ExampleBean exampleBean; }
{code}
Bean on jar project referenced by the first project:
package test;
import javax.ejb.Stateless;
@Stateless
public class ExampleBean {
}I assume the bean is injectable as the project execute ok on the server. Both projects have CDI support enabled.
-
3. Re: Problem with validation for CDI Injection points
akazakov Aug 31, 2010 10:51 AM (in response to fabricio.lemos)Ok. I can reproduce this bug. Could you report it to https://jira.jboss.org/browse/JBIDE ?
Thanks.
-
4. Re: Problem with validation for CDI Injection points
fabricio.lemos Aug 31, 2010 11:04 AM (in response to akazakov)Thank you Alexey.
Issue created: https://jira.jboss.org/browse/JBIDE-6950