|
Hi Martin,
While doing bean validation, i see the following issue.
[org.jboss.weld.exceptions.DeploymentException:
WELD-001408
: Unsatisfied dependencies for type UserGroupInfoProducer with qualifiers @Selectable at injection point [BackedAnnotatedField] @Inject @Selectable private com.glt.bpm.jee.cdi.GLTEnvironmentProducer.userGroupInfoProducer at com.glt.bpm.jee.cdi.GLTEnvironmentProducer.userGroupInfoProducer(GLTEnvironmentProducer.java:0) ]
So we thought of removing @selectable from GTLUserGroupInfoProducer and GLTEnvironmentProducer and then came across below issue.
[org.jboss.weld.exceptions.DeploymentException:
WELD-001408
: Unsatisfied dependencies for type UserGroupInfoProducer with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.glt.bpm.jee.cdi.GLTEnvironmentProducer.userGroupInfoProducer at com.glt.bpm.jee.cdi.GLTEnvironmentProducer.userGroupInfoProducer(GLTEnvironmentProducer.java:0) ]
BTW, beans.xml is as below: <?xml version="1.0"?> <beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:weld="http://jboss.org/schema/weld/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://jboss.org/schema/weld/beans http://jboss.org/schema/weld/beans_1_1.xsd http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd">
<alternatives> <class>com.glt.bpm.jee.cdi.GTLUserGroupInfoProducer</class> </alternatives> <weld:scan/> </beans>
We had also tried with beans.xml with contents. <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd">
<alternatives> <stereotype>com.glt.bpm.jee.cdi.GTLUserGroupInfoProducer</stereotype> </alternatives> </beans>
What could be the reason for this? Please help.
Thanks and Regards, Shripad
|