title: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
body: <p>I have this pom.xml file</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;company&lt;/groupId&gt;
          &lt;artifactId&gt;trick-services-parent&lt;/artifactId&gt;
          &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;artifactId&gt;tricker-services-webapp&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;name&gt;trick-rest&lt;/name&gt;
      &lt;!-- &lt;build&gt; &lt;finalName&gt;trick&lt;/finalName&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; 
          &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;outputDirectory&gt;../vagrant/deployments&lt;/outputDirectory&gt; 
          &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt; 
          &lt;version&gt;2.17&lt;/version&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;resources&gt; &lt;resource&gt; &lt;directory&gt;src/main/resources&lt;/directory&gt; 
          &lt;filtering&gt;true&lt;/filtering&gt; &lt;/resource&gt; &lt;/resources&gt; &lt;testResources&gt; &lt;testResource&gt; 
          &lt;directory&gt;src/test/resources&lt;/directory&gt; &lt;filtering&gt;true&lt;/filtering&gt; &lt;/testResource&gt; 
          &lt;/testResources&gt; &lt;/build&gt; --&gt;
  
      &lt;build&gt;
          &lt;defaultGoal&gt;test&lt;/defaultGoal&gt;
          &lt;plugins&gt;
              &lt;!-- The compiler plugin enforces Java 1.6 compatibility and controls 
                  execution of annotation processors --&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.12&lt;/version&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  
  
      &lt;dependencyManagement&gt;
  
          &lt;dependencies&gt;
              &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.arquillian.extension&lt;/groupId&gt; &lt;artifactId&gt;arquillian-rest-warp-bom&lt;/artifactId&gt; 
                  &lt;version&gt;1.0.0.Alpha2&lt;/version&gt; &lt;scope&gt;import&lt;/scope&gt; &lt;type&gt;pom&lt;/type&gt; &lt;/dependency&gt; --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.jboss.shrinkwrap.resolver&lt;/groupId&gt;
                  &lt;artifactId&gt;shrinkwrap-resolver-bom&lt;/artifactId&gt;
                  &lt;version&gt;2.0.0-alpha-5&lt;/version&gt;
                  &lt;scope&gt;import&lt;/scope&gt;
                  &lt;type&gt;pom&lt;/type&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.jboss.arquillian&lt;/groupId&gt;
                  &lt;artifactId&gt;arquillian-bom&lt;/artifactId&gt;
                  &lt;version&gt;1.0.3.Final&lt;/version&gt;
                  &lt;scope&gt;import&lt;/scope&gt;
                  &lt;type&gt;pom&lt;/type&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
      &lt;/dependencyManagement&gt;
  
      &lt;dependencies&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.arquillian.extension&lt;/groupId&gt; &lt;artifactId&gt;arquillian-rest-warp-bom&lt;/artifactId&gt; 
              &lt;version&gt;1.0.0.Alpha2&lt;/version&gt; &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.shrinkwrap.resolver&lt;/groupId&gt;
              &lt;artifactId&gt;shrinkwrap-resolver-api&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.shrinkwrap.resolver&lt;/groupId&gt;
              &lt;artifactId&gt;shrinkwrap-resolver-impl-maven&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.arquillian.junit&lt;/groupId&gt;
              &lt;artifactId&gt;arquillian-junit-container&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.arquillian&lt;/groupId&gt;
              &lt;artifactId&gt;arquillian-junit&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;version&gt;1.0.0.Alpha5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
              &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;!-- F --&gt;
  
          &lt;!-- Jax RS and REST API Related Dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.resteasy&lt;/groupId&gt;
              &lt;artifactId&gt;resteasy-jaxrs&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Used by Jetty only. --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.jboss.spec&lt;/groupId&gt;
              &lt;artifactId&gt;jboss-javaee-6.0&lt;/artifactId&gt;
              &lt;type&gt;pom&lt;/type&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;company&lt;/groupId&gt;
              &lt;artifactId&gt;tricking-service&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.jboss.arquillian.container&lt;/groupId&gt;
                      &lt;artifactId&gt;arquillian-weld-ee-embedded-1.1&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.jboss.weld&lt;/groupId&gt;
                      &lt;artifactId&gt;weld-core&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;com.wordnik&lt;/groupId&gt; &lt;artifactId&gt;swagger-jaxrs_2.9.1&lt;/artifactId&gt; 
              &lt;/dependency&gt; --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.wordnik&lt;/groupId&gt;
              &lt;artifactId&gt;swagger-annotations&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.wordnik&lt;/groupId&gt;
              &lt;artifactId&gt;swagger-core_2.9.1&lt;/artifactId&gt;
              &lt;version&gt;1.3.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.arquillian.extension&lt;/groupId&gt; &lt;artifactId&gt;arquillian-warp-impl&lt;/artifactId&gt; 
              &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; --&gt;
  
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.arquillian.extension&lt;/groupId&gt; &lt;artifactId&gt;arquillian-rest-warp-impl-resteasy&lt;/artifactId&gt; 
              &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.arquillian.container&lt;/groupId&gt; &lt;artifactId&gt;arquillian-glassfish-embedded-3.1&lt;/artifactId&gt; 
              &lt;version&gt;1.0.0.CR3&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; 
              &lt;groupId&gt;org.glassfish.main.extras&lt;/groupId&gt; &lt;artifactId&gt;glassfish-embedded-all&lt;/artifactId&gt; 
              &lt;version&gt;3.1.2&lt;/version&gt; &lt;scope&gt;provided&lt;/scope&gt; &lt;/dependency&gt; --&gt;
  
          &lt;!-- &lt;dependency&gt; &lt;groupId&gt;org.jboss.as&lt;/groupId&gt; &lt;artifactId&gt;jboss-as-arquillian-container-managed&lt;/artifactId&gt; 
              &lt;version&gt;7.1.1.Final&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; --&gt;
  
      &lt;/dependencies&gt;
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;arquillian-glassfish-embedded&lt;/id&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.arquillian.container&lt;/groupId&gt;
                      &lt;artifactId&gt;arquillian-glassfish-embedded-3.1&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0.CR3&lt;/version&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.glassfish.main.extras&lt;/groupId&gt;
                      &lt;artifactId&gt;glassfish-embedded-all&lt;/artifactId&gt;
                      &lt;version&gt;3.1.2&lt;/version&gt;
                      &lt;scope&gt;provided&lt;/scope&gt;
                  &lt;/dependency&gt;
                  &lt;!-- Enable dependency if you want to use H2 --&gt;
                  &lt;!-- Also update glassfish-resources.xml to use H2 connection information --&gt;
                  &lt;!-- &lt;dependency&gt; &lt;groupId&gt;com.h2database&lt;/groupId&gt; &lt;artifactId&gt;h2&lt;/artifactId&gt; 
                      &lt;version&gt;1.3.166&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; --&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;testResources&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources&lt;/directory&gt;
                      &lt;/testResource&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources-glassfish-embedded&lt;/directory&gt;
                      &lt;/testResource&gt;
                  &lt;/testResources&gt;
                  &lt;plugins&gt;
                      &lt;!-- The surefire plugin is configured to pass a system property to 
                          GlassFish to retarget the derby log file --&gt;
                      &lt;plugin&gt;
                          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.12&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;systemPropertyVariables&gt;
                                  &lt;java.util.logging.config.file&gt;
                                      ${project.build.testOutputDirectory}/logging.properties
                                  &lt;/java.util.logging.config.file&gt;
                                  &lt;derby.stream.error.file&gt;
                                      ${project.build.directory}/derby.log
                                  &lt;/derby.stream.error.file&gt;
                              &lt;/systemPropertyVariables&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
          &lt;profile&gt;
              &lt;!-- Make sure that the default Derby database is started when you start 
                  the GlassFish instance --&gt;
              &lt;!-- You can start the database using this command: asadmin start-database --&gt;
              &lt;id&gt;arquillian-glassfish-remote&lt;/id&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.spec&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-javaee-web-6.0&lt;/artifactId&gt;
                      &lt;version&gt;3.0.0.Final&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                      &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;exclusions&gt;
                          &lt;exclusion&gt;
                              &lt;groupId&gt;xalan&lt;/groupId&gt;
                              &lt;artifactId&gt;xalan&lt;/artifactId&gt;
                          &lt;/exclusion&gt;
                      &lt;/exclusions&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.arquillian.container&lt;/groupId&gt;
                      &lt;artifactId&gt;arquillian-glassfish-remote-3.1&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0.CR3&lt;/version&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;testResources&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources&lt;/directory&gt;
                      &lt;/testResource&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources-glassfish-remote&lt;/directory&gt;
                      &lt;/testResource&gt;
                  &lt;/testResources&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
          &lt;profile&gt;
              &lt;id&gt;arquillian-jbossas-managed&lt;/id&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.spec&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-javaee-web-6.0&lt;/artifactId&gt;
                      &lt;version&gt;3.0.0.Final&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                      &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;exclusions&gt;
                          &lt;exclusion&gt;
                              &lt;groupId&gt;xalan&lt;/groupId&gt;
                              &lt;artifactId&gt;xalan&lt;/artifactId&gt;
                          &lt;/exclusion&gt;
                      &lt;/exclusions&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.as&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-as-arquillian-container-managed&lt;/artifactId&gt;
                      &lt;version&gt;7.1.1.Final&lt;/version&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.arquillian.protocol&lt;/groupId&gt;
                      &lt;artifactId&gt;arquillian-protocol-servlet&lt;/artifactId&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;testResources&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources&lt;/directory&gt;
                      &lt;/testResource&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources-jbossas-managed&lt;/directory&gt;
                      &lt;/testResource&gt;
                  &lt;/testResources&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;id&gt;unpack&lt;/id&gt;
                                  &lt;phase&gt;process-test-classes&lt;/phase&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;unpack&lt;/goal&gt;
                                  &lt;/goals&gt;
                                  &lt;configuration&gt;
                                      &lt;artifactItems&gt;
                                          &lt;artifactItem&gt;
                                              &lt;groupId&gt;org.jboss.as&lt;/groupId&gt;
                                              &lt;artifactId&gt;jboss-as-dist&lt;/artifactId&gt;
                                              &lt;version&gt;7.1.1.Final&lt;/version&gt;
                                              &lt;type&gt;zip&lt;/type&gt;
                                              &lt;overWrite&gt;false&lt;/overWrite&gt;
                                              &lt;outputDirectory&gt;target&lt;/outputDirectory&gt;
                                          &lt;/artifactItem&gt;
                                      &lt;/artifactItems&gt;
                                  &lt;/configuration&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
          &lt;profile&gt;
              &lt;id&gt;arquillian-jbossas-remote&lt;/id&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.spec&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-javaee-6.0&lt;/artifactId&gt;
                      &lt;version&gt;1.0.0.Final&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                      &lt;scope&gt;provided&lt;/scope&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.as&lt;/groupId&gt;
                      &lt;artifactId&gt;jboss-as-arquillian-container-remote&lt;/artifactId&gt;
                      &lt;version&gt;7.1.1.Final&lt;/version&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.jboss.arquillian.protocol&lt;/groupId&gt;
                      &lt;artifactId&gt;arquillian-protocol-servlet&lt;/artifactId&gt;
                      &lt;scope&gt;test&lt;/scope&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;build&gt;
                  &lt;testResources&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources&lt;/directory&gt;
                      &lt;/testResource&gt;
                      &lt;testResource&gt;
                          &lt;directory&gt;src/test/resources-jbossas-managed&lt;/directory&gt;
                      &lt;/testResource&gt;
                  &lt;/testResources&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>And this is a test class that I have:</p>
  
  <pre><code>@RunWith(Arquillian.class)
  @RunAsClient
  public class TrickerResourceTest {
      @Deployment
      public static Archive&lt;?&gt; createDeployment() {
          return ShrinkWrap.create(WebArchive.class, "test.war")
              .addPackage(Tricker.class.getPackage())
              .addAsResource("test-persistence.xml", "META-INF/persistence.xml")
              .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
      }
  
       @Test
        public void getAllTrickers() throws Exception
        {
           Assert.assertTrue(true);
        }
  
  }
  </code></pre>
  
  <p>This is my arquillian.xml</p>
  
  <pre><code>&lt;arquillian xmlns="http://jboss.org/schema/arquillian"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="
          http://jboss.org/schema/arquillian
          http://jboss.org/schema/arquillian/arquillian_1_0.xsd"&gt;
      &lt;container qualifier="jbossas-managed" default="true"&gt;
          &lt;configuration&gt;
              &lt;property name="jbossHome"&gt;target/jboss-as-7.1.1.Final&lt;/property&gt;
          &lt;/configuration&gt;
      &lt;/container&gt;
  &lt;/arquillian&gt;
  </code></pre>
  
  <p>and this is my test-persitence:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="
          http://java.sun.com/xml/ns/persistence
          http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"&gt;
      &lt;persistence-unit name="test"&gt;
          &lt;!-- Use this jta-data-source if you're testing on JBoss AS 7.1 (setup by jbossas-ds.xml) --&gt;
          &lt;jta-data-source&gt;jdbc/arquillian&lt;/jta-data-source&gt;
  
          &lt;!-- Use this jta-data-source if you're testing on JBoss AS 7.0 --&gt;
          &lt;!-- Optionally, you can setup a DataSource with this name in your JBoss AS 7.0 installation --&gt;
          &lt;!-- 
          &lt;jta-data-source&gt;java:jboss/datasources/ExampleDS&lt;/jta-data-source&gt;
          --&gt;
          &lt;properties&gt;
              &lt;property name="hibernate.hbm2ddl.auto" value="create-drop"/&gt;
              &lt;property name="hibernate.show_sql" value="true"/&gt;
          &lt;/properties&gt;
      &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>
  
  <p>This is my jbossas-ds.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;datasources xmlns="http://www.jboss.org/ironjacamar/schema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="
          http://www.jboss.org/ironjacamar/schema
          http://docs.jboss.org/ironjacamar/schema/datasources_1_0.xsd"&gt;
      &lt;datasource enabled="true"
          jndi-name="jdbc/arquillian"
          pool-name="ArquillianEmbeddedH2Pool"&gt;
          &lt;connection-url&gt;jdbc:h2:mem:arquillian;DB_CLOSE_DELAY=-1&lt;/connection-url&gt;
          &lt;driver&gt;h2&lt;/driver&gt;
      &lt;/datasource&gt;
  &lt;/datasources&gt;
  </code></pre>
  
  <p>And I want to run it on JBoss so on cmd I am saying:</p>
  
  <pre><code>mvn test -Parquillian-jbossas-managed
  </code></pre>
  
  <p>And the error that I am getting is this:</p>
  
  <pre><code>Tests in error:
    com.company.Trickservice.webapp.api.test.TrickerResourceTest: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
  </code></pre>
  
  <p>Full stacktrace on cmd:</p>
  
  <pre><code>-------------------------------------------------------
   T E S T S
  -------------------------------------------------------
  Running com.company.trickservice.webapp.api.test.TrickerResourceTest
  12:36:29,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
  12:36:29,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
  12:36:29,500 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/Users/Elban/Documents/trick-services/web/target/classes/logback.xml]
  12:36:29,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
  12:36:29,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/C:/Users/Elban/Documents/trick-services/web/target/classes/logback.xml]
  12:36:29,501 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/Elban/.m2/repository/company/tricking-core/0.0.1-SNAPSHOT/tricking-co
  re-0.0.1-SNAPSHOT.jar!/logback.xml]
  12:36:29,550 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
  12:36:29,556 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
  12:36:29,563 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
  12:36:29,573 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
  12:36:29,609 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to TRACE
  12:36:29,609 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
  12:36:29,610 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
  12:36:29,610 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@74af72d8 - Registering current configuration as safe fallback point
  
  12:36:29.617 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.354 sec &lt;&lt;&lt; FAILURE!
  
  Results :
  
  Tests in error:
    com.company.trickservice.webapp.api.test.trickerResourceTest: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
  
  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
  
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 27.390s
  [INFO] Finished at: Thu Jun 05 12:36:30 CEST 2014
  [INFO] Final Memory: 47M/300M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project tricker-services-webapp: There are test failures.
  [ERROR]
  [ERROR] Please refer to C:\Users\Elban\Documents\trick-services\web\target\surefire-reports for the individual test results.
  [ERROR] -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  C:\Users\Elban\Documents\trick-services\web&gt;
  </code></pre>
  
  <p>If you need any more information, just let me know.</p>