0 Replies Latest reply on Aug 21, 2014 12:34 AM by love-dev.1988

    WELD-001409 Ambiguous dependencies for type [EntityManager]

    love-dev.1988

      Hi experts,

       

      I imported a jBPM project (Maven) ca!!ed ociWorkflowWeb, but I encounter those errors:

       

      1. 05:11:14,454 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."ociWorkflowWeb.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."ociWorkflowWeb.war".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 3 exceptions:
      2. Exception 0 :
      3. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.controller.MemberRegistration.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      4.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      5.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      6.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      7.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      8.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      9.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      10.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      11.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      12.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      13.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      14.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      15.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      16.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      17.         at java.lang.Thread.run(Thread.java:745)
      18. Exception 0 :
      19. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.rest.MemberResourceRESTService.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      20.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      21.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      22.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      23.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      24.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      25.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      26.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      27.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      28.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      29.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      30.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      31.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      32.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      33.         at java.lang.Thread.run(Thread.java:745)
      34. Exception 0 :
      35. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.data.MemberListProducer.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      36.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      37.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      38.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      39.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      40.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      41.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      42.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      43.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      44.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      45.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      46.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      47.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      48.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      49.         at java.lang.Thread.run(Thread.java:745)
      50.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
      51.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      52.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      53.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
      54.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
      55.         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
      56. Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 3 exceptions:
      57. Exception 0 :
      58. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.controller.MemberRegistration.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      59.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      60.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      61.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      62.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      63.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      64.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      65.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      66.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      67.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      68.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      69.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      70.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      71.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      72.         at java.lang.Thread.run(Thread.java:745)
      73. Exception 0 :
      74. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.rest.MemberResourceRESTService.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      75.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      76.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      77.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      78.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      79.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      80.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      81.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      82.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      83.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      84.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      85.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      86.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      87.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      88.         at java.lang.Thread.run(Thread.java:745)
      89. Exception 0 :
      90. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.data.MemberListProducer.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      91.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      92.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      93.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      94.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      95.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      96.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      97.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      98.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      99.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      100.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      101.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      102.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      103.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      104.         at java.lang.Thread.run(Thread.java:745)
      105.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:358)
      106.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      107.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      108.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      109.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      110.         ... 5 more
      111. 05:11:14,749 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service'ociWorkflowWeb.war#org.jbpm.sample'
      112. 05:11:14,742 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ociWorkflowWeb.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ociWorkflowWeb.war\".WeldService" =>"org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ociWorkflowWeb.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 3 exceptions:
      113. Exception 0 :
      114. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.controller.MemberRegistration.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      115.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      116.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      117.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      118.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      119.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      120.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      121.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      122.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      123.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      124.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      125.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      126.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      127.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      128.        at java.lang.Thread.run(Thread.java:745)
      129. Exception 0 :
      130. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.rest.MemberResourceRESTService.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      131.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      132.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      133.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      134.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      135.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      136.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      137.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      138.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      139.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      140.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      141.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      142.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      143.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      144.        at java.lang.Thread.run(Thread.java:745)
      145. Exception 0 :
      146. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.data.MemberListProducer.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      147.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      148.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      149.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      150.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      151.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      152.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      153.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      154.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      155.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      156.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      157.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      158.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      159.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      160.        at java.lang.Thread.run(Thread.java:745)
      161. "}}
      162. 05:11:15,558 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment ociWorkflowWeb.war in 818ms
      163. 05:11:15,561 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      164. JBAS014777:   Services which failed to start:      service jboss.deployment.unit."ociWorkflowWeb.war".WeldService:org.jboss.msc.service.StartException in service jboss.deployment.unit."ociWorkflowWeb.war".WeldService:org.jboss.weld.exceptions.DeploymentException: Exception List with 3 exceptions:
      165. Exception 0 :
      166. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.controller.MemberRegistration.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      167.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      168.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      169.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      170.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      171.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      172.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      173.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      174.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      175.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      176.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      177.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      178.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      179.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      180.         at java.lang.Thread.run(Thread.java:745)
      181. Exception 0 :
      182. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.rest.MemberResourceRESTService.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      183.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      184.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      185.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      186.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      187.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      188.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      189.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      190.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      191.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      192.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      193.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      194.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      195.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      196.         at java.lang.Thread.run(Thread.java:745)
      197. Exception 0 :
      198. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.data.MemberListProducer.em]. Possible dependencies [[Resource Producer Field[EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces@ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      199.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      200.         at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      201.         at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      202.         at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      203.         at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      204.         at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      205.         at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      206.         at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      207.         at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      208.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      209.         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      210.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      211.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      212.         at java.lang.Thread.run(Thread.java:745)
      213. 05:11:15,591 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" =>{"jboss.deployment.unit.\"ociWorkflowWeb.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ociWorkflowWeb.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: Exception List with 3 exceptions:
      214. Exception 0 :
      215. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.controller.MemberRegistration.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      216.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      217.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      218.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      219.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      220.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      221.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      222.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      223.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      224.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      225.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      226.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      227.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      228.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      229.        at java.lang.Thread.run(Thread.java:745)
      230. Exception 0 :
      231. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.rest.MemberResourceRESTService.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      232.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      233.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      234.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      235.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      236.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      237.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      238.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      239.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      240.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      241.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      242.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      243.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      244.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      245.        at java.lang.Thread.run(Thread.java:745)
      246. Exception 0 :
      247. org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private com.oci.workflow.data.MemberListProducer.em]. Possible dependencies [[Resource Producer Field [EntityManager] with qualifiers [@Any @Default] declared as [[field] @Produces @PersistenceContext private com.oci.workflow.util.Resources.em], Producer Method [EntityManager] with qualifiers [@Any @Default] declared as [[method] @Produces @ApplicationScoped public org.jbpm.examples.cdi.EnvironmentProducer.getEntityManager()]]]
      248.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:278)
      249.        at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
      250.        at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
      251.        at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
      252.        at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
      253.        at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
      254.        at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
      255.        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
      256.        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
      257.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      258.        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      259.        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      260.        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      261.        at java.lang.Thread.run(Thread.java:745)
      262. "}}}}

       

      Knowing that this is the file pom.xml, could you please help me ?

       

      1. <?xml version="1.0" encoding="UTF-8"?>
      2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   
      4.         <modelVersion>4.0.0</modelVersion>
      5.         <groupId>com.oci.workflow</groupId>
      6.         <artifactId>ociWorkflowWeb</artifactId>
      7.         <version>1.0-SNAPSHOT</version>
      8.         <packaging>war</packaging>
      9.         <name>Java EE 6 webapp project</name>
      10.         <description>A starter Java EE 6 webapp project for use on JBoss AS 7, generated from the jboss-javaee6-webapp archetype</description>
      11.         <properties>
      12.                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      13.                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
      14.                 <jboss.home>/Users/tom/Documents/workspace/tools/jboss-6.1.0.Final/</jboss.home>
      15.                 <drools.version>6.0.0.CR2</drools.version>
      16.                 <jbpm.version>6.0.0.CR2</jbpm.version>
      17.                 <hibernate.version>4.2.0.Final</hibernate.version>
      18.                 <hibernate.core.version>4.2.0.Final</hibernate.core.version>
      19.                 <slf4j.version>1.7.2</slf4j.version>
      20.                 <arquillian.bom.version>1.1.0.Final</arquillian.bom.version>
      21.                 <jboss.javaee.version>1.0.0.Final</jboss.javaee.version>
      22.                 <seam.tx.version>3.1.0.Final</seam.tx.version>
      23.                 <solder.version>3.2.0.Final</solder.version>
      24.                 <logback.version>1.0.9</logback.version>
      25.                 <h2.version>1.3.161</h2.version>
      26.                 <btm.version>3.0.0-SNAPSHOT</btm.version>
      27.                 <arquillian.weld.version>1.0.0.CR3</arquillian.weld.version>
      28.         </properties>
      29.         <dependencyManagement>
      30.                 <dependencies>
      31.                         <dependency>
      32.                                 <groupId>org.jboss.spec</groupId>
      33.                                 <artifactId>jboss-javaee-web-6.0</artifactId>
      34.                                 <version>2.0.0.Final</version>
      35.                                 <type>pom</type>
      36.                                 <scope>import</scope>
      37.                         </dependency>
      38. <dependency>
      39.                 <groupId>dom4j</groupId>
      40.                 <artifactId>dom4j</artifactId>
      41.                 <version>1.6.1</version>
      42.                <scope>provided</scope>
      43.             </dependency>
      44.                         <dependency>
      45.                                 <groupId>org.drools</groupId>
      46.                                 <artifactId>drools-bom</artifactId>
      47.                                 <type>pom</type>
      48.                                 <version>${drools.version}</version>
      49.                                 <scope>import</scope>
      50.                         </dependency>
      51.                         <dependency>
      52.                                 <groupId>org.jbpm</groupId>
      53.                                 <artifactId>jbpm-bom</artifactId>
      54.                                 <type>pom</type>
      55.                                 <version>${jbpm.version}</version>
      56.                                 <scope>import</scope>
      57.                         </dependency>
      58.                 </dependencies>
      59.         </dependencyManagement>
      60.         <dependencies>
      61.                 <dependency>
      62.                         <groupId>javax.enterprise</groupId>
      63.                         <artifactId>cdi-api</artifactId>
      64.                         <scope>1.0-SP4</scope>
      65.                 </dependency>
      66.                 <dependency>
      67.                         <groupId>org.jboss.spec.javax.annotation</groupId>
      68.                         <artifactId>jboss-annotations-api_1.1_spec</artifactId>
      69.                         <scope>provided</scope>
      70.                 </dependency>
      71.                 <dependency>
      72.                         <groupId>org.jboss.spec.javax.ws.rs</groupId>
      73.                         <artifactId>jboss-jaxrs-api_1.1_spec</artifactId>
      74.                         <scope>provided</scope>
      75.                 </dependency>
      76.                 <dependency>
      77.                         <groupId>org.hibernate.javax.persistence</groupId>
      78.                         <artifactId>hibernate-jpa-2.0-api</artifactId>
      79.                         <scope>provided</scope>
      80.                 </dependency>
      81.                 <dependency>
      82.                         <groupId>org.jboss.spec.javax.ejb</groupId>
      83.                         <artifactId>jboss-ejb-api_3.1_spec</artifactId>
      84.                         <scope>provided</scope>
      85.                 </dependency>
      86.                 <dependency>
      87.                         <groupId>org.hibernate</groupId>
      88.                         <artifactId>hibernate-validator</artifactId>
      89.                         <version>4.2.0.Final</version>
      90.                         <scope>provided</scope>
      91.                         <exclusions>
      92.                                 <exclusion>
      93.                                         <groupId>org.slf4j</groupId>
      94.                                         <artifactId>slf4j-api</artifactId>
      95.                                 </exclusion>
      96.                         </exclusions>
      97.                 </dependency>
      98.                 <dependency>
      99.                         <groupId>org.hibernate</groupId>
      100.                         <artifactId>hibernate-jpamodelgen</artifactId>
      101.                         <version>1.1.1.Final</version>
      102.                         <scope>provided</scope>
      103.                 </dependency>
      104.                 <dependency>
      105.                         <groupId>junit</groupId>
      106.                         <artifactId>junit</artifactId>
      107.                         <version>4.10</version>
      108.                         <scope>test</scope>
      109.                 </dependency>
      110.                 <dependency>
      111.                         <groupId>org.jboss.arquillian.junit</groupId>
      112.                         <artifactId>arquillian-junit-container</artifactId>
      113.                         <version>1.0.0.CR4</version>
      114.                         <scope>test</scope>
      115.                 </dependency>
      116.                 <dependency>
      117.                         <groupId>org.jbpm</groupId>
      118.                         <artifactId>jbpm-flow</artifactId>
      119.                         <exclusions>
      120.                                 <exclusion>
      121.                                         <artifactId>slf4j-api</artifactId>
      122.                                         <groupId>org.slf4j</groupId>
      123.                                 </exclusion>
      124.                         </exclusions>
      125.                 </dependency>
      126.                 <dependency>
      127.                         <groupId>org.jbpm</groupId>
      128.                         <artifactId>jbpm-flow-builder</artifactId>
      129.                         <exclusions>
      130.                                 <exclusion>
      131.                                         <artifactId>slf4j-api</artifactId>
      132.                                         <groupId>org.slf4j</groupId>
      133.                                 </exclusion>
      134.                         </exclusions>
      135.                 </dependency>
      136.                 <dependency>
      137.                         <groupId>org.jbpm</groupId>
      138.                         <artifactId>jbpm-bpmn2</artifactId>
      139.                         <exclusions>
      140.                                 <exclusion>
      141.                                         <artifactId>slf4j-api</artifactId>
      142.                                         <groupId>org.slf4j</groupId>
      143.                                 </exclusion>
      144.                         </exclusions>
      145.                 </dependency>
      146.                 <dependency>
      147.                         <groupId>org.jbpm</groupId>
      148.                         <artifactId>jbpm-persistence-jpa</artifactId>
      149.                         <exclusions>
      150.                                 <exclusion>
      151.                                         <artifactId>slf4j-api</artifactId>
      152.                                         <groupId>org.slf4j</groupId>
      153.                                 </exclusion>
      154.                         </exclusions>
      155.                 </dependency>
      156.                 <dependency>
      157.                         <groupId>org.jbpm</groupId>
      158.                         <artifactId>jbpm-human-task-core</artifactId>
      159.                         <exclusions>
      160.                                 <exclusion>
      161.                                         <artifactId>weld-core</artifactId>
      162.                                         <groupId>org.jboss.weld</groupId>
      163.                                 </exclusion>
      164.                         </exclusions>
      165.                 </dependency>
      166.                 <dependency>
      167.                         <groupId>org.jbpm</groupId>
      168.                         <artifactId>jbpm-runtime-manager</artifactId>
      169.                         <exclusions>
      170.                                 <exclusion>
      171.                                         <artifactId>slf4j-api</artifactId>
      172.                                         <groupId>org.slf4j</groupId>
      173.                                 </exclusion>
      174.                         </exclusions>
      175.                 </dependency>
      176.                  <dependency> <groupId>org.jboss.seam.transaction</groupId> <artifactId>seam-transaction</artifactId>
      177.                         <version>${seam.tx.version}</version> </dependency> <dependency> <groupId>org.jboss.solder</groupId>
      178.                         <artifactId>solder-api</artifactId> <version>${solder.version}</version>
      179.                         </dependency>
      180.         </dependencies>
      181.         <build>
      182.                 <finalName>${project.artifactId}</finalName>
      183.                 <plugins>
      184.                         <plugin>
      185.                                 <artifactId>maven-compiler-plugin</artifactId>
      186.                                 <version>2.3.1</version>
      187.                                 <configuration>
      188.                                         <source>1.6</source>
      189.                                         <target>1.6</target>
      190.                                 </configuration>
      191.                         </plugin>
      192.                         <plugin>
      193.                                 <artifactId>maven-war-plugin</artifactId>
      194.                                 <version>2.1.1</version>
      195.                                 <configuration>
      196.                                         <failOnMissingWebXml>false</failOnMissingWebXml>
      197.                                 </configuration>
      198.                         </plugin>
      199.                         <plugin>
      200.                                 <groupId>org.jboss.as.plugins</groupId>
      201.                                 <artifactId>jboss-as-maven-plugin</artifactId>
      202.                                 <version>7.1.1.Final</version>
      203.                         </plugin>
      204.                         <plugin>
      205.                                 <groupId>org.codehaus.mojo</groupId>
      206.                                 <artifactId>jboss-maven-plugin</artifactId>
      207.                                 <version>1.5.0</version>
      208.                                 <configuration>
      209.                                         <jbossHome>${jboss.home}</jbossHome>
      210.                                         <port>8080</port>
      211.                                         <serverName>default</serverName>
      212.                                         <fileName>target/ociWorkflowWeb.war</fileName>
      213.                                 </configuration>
      214.                         </plugin>
      215.                 </plugins>
      216.         </build>
      217.         <profiles>
      218.                 <profile>
      219.                         <id>default</id>
      220.                         <activation>
      221.                                 <activeByDefault>true</activeByDefault>
      222.                         </activation>
      223.                         <build>
      224.                                 <plugins>
      225.                                         <plugin>
      226.                                                 <artifactId>maven-surefire-plugin</artifactId>
      227.                                                 <version>2.4.3</version>
      228.                                                 <configuration>
      229.                                                         <skip>true</skip>
      230.                                                 </configuration>
      231.                                         </plugin>
      232.                                 </plugins>
      233.                         </build>
      234.                         <repositories>
      235.                                 <repository>
      236.                                         <id>repo.fusesource.com</id>
      237.                                         <name>repo.fusesource.com</name>
      238.                                         <url>http://repo.fusesource.com/maven2-legacy/</url>
      239.                                         <layout>default</layout>
      240.                                 </repository>
      241.                                 <repository>
      242.                                         <id>jboss-public-repository-group</id>
      243.                                         <name>JBoss Public Repository Group</name>
      244.                                         <url>http://repository.jboss.org/nexus/content/groups/public/</url>
      245.                                         <releases>
      246.                                                 <enabled>true</enabled>
      247.                                                 <updatePolicy>never</updatePolicy>
      248.                                         </releases>
      249.                                         <snapshots>
      250.                                                 <enabled>true</enabled>
      251.                                                 <updatePolicy>daily</updatePolicy>
      252.                                         </snapshots>
      253.                                 </repository>
      254.                         </repositories>
      255.                 </profile>
      256.                 <profile>
      257.                         <repositories>
      258.                                 <repository>
      259.                                         <id>jboss-public-repository</id>
      260.                                         <name>JBoss Repository</name>
      261.                                         <url>http://repository.jboss.org/nexus/content/groups/public</url>
      262.                                         <releases>
      263.                                         </releases>
      264.                                         <snapshots>
      265.                                                 <enabled>false</enabled>
      266.                                         </snapshots>
      267.                                 </repository>
      268.                         </repositories>
      269.                         <pluginRepositories>
      270.                                 <pluginRepository>
      271.                                         <id>jboss-public-repository</id>
      272.                                         <name>JBoss Repository</name>
      273.                                         <url>http://repository.jboss.org/nexus/content/groups/public</url>
      274.                                         <releases>
      275.                                         </releases>
      276.                                         <snapshots>
      277.                                                 <enabled>false</enabled>
      278.                                         </snapshots>
      279.                                 </pluginRepository>
      280.                         </pluginRepositories>
      281.                         <id>arq-jbossas-managed</id>
      282.                         <dependencies>
      283.                                 <dependency>
      284.                                         <groupId>org.jboss.as</groupId>
      285.                                         <artifactId>jboss-as-arquillian-container-managed</artifactId>
      286.                                         <version>6.1.0.Final</version>
      287.                                         <scope>test</scope>
      288.                                 </dependency>
      289.                         </dependencies>
      290.                 </profile>
      291.                 <profile>
      292.                         <repositories>        
      293.                                 <repository>
      294.                                         <id>jboss-public-repository</id>
      295.                                         <name>JBoss Repository</name>
      296.                                         <url>http://repository.jboss.org/nexus/content/groups/public</url>
      297.                                         <releases>
      298.                                         </releases>
      299.                                         <snapshots>
      300.                                                 <enabled>false</enabled>
      301.                                         </snapshots>
      302.                                 </repository>
      303.                         </repositories>
      304.                         <pluginRepositories>
      305.                                 <pluginRepository>
      306.                                         <id>jboss-public-repository</id>
      307.                                         <name>JBoss Repository</name>
      308.                                         <url>http://repository.jboss.org/nexus/content/groups/public</url>
      309.                                         <releases>
      310.                                         </releases>
      311.                                         <snapshots>
      312.                                                 <enabled>false</enabled>
      313.                                         </snapshots>
      314.                                 </pluginRepository>
      315.                         </pluginRepositories>
      316.                         <id>arq-jbossas-remote</id>
      317.                         <dependencies>
      318.                                 <dependency>
      319.                                         <groupId>org.jboss.as</groupId>
      320.                                         <artifactId>jboss-as-arquillian-container-remote</artifactId>
      321.                                         <version>6.1.0.Final</version>
      322.                                         <scope>test</scope>
      323.                                 </dependency>
      324.                         </dependencies>
      325.                 </profile>
      326.         </profiles>
      327. </project>

       

      Thanks in advance.