1 Reply Latest reply on Jul 31, 2011 11:13 AM by aslak

    Simple Test fails, Logging issue

    imasius

      Hello,

       

      tried to run a simple Arquillian Test on JBoss AS 7. The EJB does contain a Jboss Logger:

       

       

      @Inject
      @Category("test")
      private Logger log;
      

       

      When i try to run the test, JBoss aborts deployment with following message:

       

      WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject private org.crush.bill.management.controller.BillEJB.log]
      

       

      I've tried to add "jboss-logging" as a dependency to pom.xml, and after that i tried to add the jboss-logging artifact manually to the test.war.

      But the error message stays the same.

       

      Regards Simon