1 Reply Latest reply on Dec 16, 2011 3:54 PM by Aslak Knutsen

    Arquillian Test fails for Rest Services when the Service is not Stateless

    elfuhrer Novice

      I have a REST Service invoking a Stateless EJB and I'm writing test cases for it,

      When the service is not a stateless EJB (i.e. doesn't have @Statelss annotation) the test fails, however when I annotate my service with @Stateless the service works fine.

       

      When the test fails a get a WELD-001408 Unsatisfied dependencies exception.

       

      Any clue, what's missing in here?