-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
21.0.1.Final
-
None
-
-
Workaround Exists
-
-
Undefined
-
---
-
---
Bean from module cannot be injected to bean in deployment. It works properly on Wildfly 20.0.1.Final but does not work on Wildlfy 21.0.1.Final.
I registered module which contains @ApplicationScoped CDI bean. I tried do deploy WAR archive that contains library that depends on this module. The library contains proper entry in Dependencies section in MANIFEST.MF file.
I get exception:
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type HelloService with qualifiers @Default at injection point [BackedAnnotatedField] @Inject com.example.mylib.MyLib.helloService at com.example.mylib.MyLib.helloService(MyLib.java:0) at org.jboss.weld.core@3.1.5.Final//org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:378)