-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
Undefined
-
---
-
---
Lib folder contain jar with super class with annotation and managed bean class definition. Top level contain derived class.
Unless managed bean class is defined at top level, deployment goes postal, ie:
acme_lib.Servlet2Test Time elapsed: 6.014 s <<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException:
Cannot deploy acme-test.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"acme-test.war\".undertow-deployment" => "java.lang.RuntimeException: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type InjectMePlease with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private acme_lib.DynamicServlet.managedBean
at acme_lib.DynamicServlet.managedBean(DynamicServlet.java:0)
Attached two tests. Comment/uncomment inclusion of managed bean class for different result.