Arquillian Integration test cannot run with maven only run with eclipse IDE -
I have created some integration tests to test my mask layer. I run my application on Jboss 7 server < / P>
Integration test is run through Eclipse IDE but when I tried to run on the console with MVN Clean Install , the following exception was shown:
java .lang.RuntimeException: new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor
not created I used to also be able to work fine with IDE I use Junit.
And this is my external dependency section:
& lt; Dependency Management & gt; & Lt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.arquillian & lt; / Group & gt; & Lt; ArtifactId & gt; Arquillian-bom & lt; / ArtifactId> & Lt; Version & gt; 1.1.1.Final & lt; / Edition & gt; & Lt; Scope & gt; Import & lt; / Scope & gt; & Lt; Type & gt; Pom & lt; / Type & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt; & Lt; / DependencyManagement & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.spec & lt; / Group & gt; & Lt; ArtifactId & gt; Jboss-javaee-6.0 & lt; / ArtifactId> & Lt; Version & gt; 1.0.0.Final & lt; / Edition & gt; & Lt; Type & gt; Pom & lt; / Type & gt; & Lt; Scope & gt; Provided & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.as & lt; / Group & gt; & Lt; ArtifactId & gt; Managed by Arquillian-Container as jboss & lt; / ArtifactId> & Lt; Version & gt; 7.1.1.Final & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.arquillian.junit & lt; / Group & gt; & Lt; ArtifactId & gt; Arquillian-JUnit-container & lt; / ArtifactId> & Lt; Version & gt; 1.1.1.Final & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.jboss.arquillian.extension & lt; / Group & gt; & Lt; ArtifactId & gt; Arquillian-Transaction JTA & lt; / ArtifactId> & Lt; Version & gt; 1.0.0.Alpha3 & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt;