3 Replies Latest reply on Jan 19, 2017 10:25 AM by Miroslaw M

    Management dependency doesn't work with CDI in Wildfly swarm application

    Miroslaw M Newbie


      I faced a problem with probably some dependency incompatibility. When management and cdi artifacts of org.wildfly.swarm are both used then I got error:

      2017-01-11 10:01:06,698 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."CDIArquillianTest.jar".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."CDIArquillianTest.jar".WeldStartService: Failed to start service
        at org
        at java
        at java
        at java
      Caused by: java.lang.TypeNotPresentException: Type org.wildfly.swarm.security.SecurityFraction not present


      It is described here with source code and details:

      java - Wildfly Swarm SecurityFraction not present in Arquillian test - Stack Overflow


      Example is based on arquilian unit test.


      Please support here to solve the issue/bug.