Injecting @Stateless EJB in Arquillian tests
A weird problem when running Arquillian test. If I try to use an EJB annotated with @Stateless, I get this error: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MyEjbRemote] with qualifiers [@Default] at injection point [[field] @Inject private com.org.app.ejb.InjectionTest.ejb] I have the following test class + deployment for the Arquillian: @RunWith(Arquillian.class) public class InjectionTest extends TestCase { @Inject private MyEjbRemote ejb; @Deployment public static JavaArchive createDeployment() { JavaArchive jar = ShrinkWrap.create