0 Replies Latest reply on Dec 16, 2013 5:32 PM by flaviomattos86

    strange behavior when running test

    flaviomattos86

      Hi guys..

       

      I have been trying to setup arquillian and something strange has been happening.

       

      When I run my test with the following

       

      @EJB

      MyEJB myejb;

      The exception: ArquillianServletRunner not found could not determine ContextRoot from ProtocolMetadata

      The same happens if I try

      @EJB(mappedName="myEjb")

      MyEJB myejb;

       

      When I try

      @EJB(lookup="java:global/test/myEjb")

      MyEJB myejb;

       

      I get Could not inject members..

       

      Why? Does anybody know the reason?

       

      Thanks