1 Reply Latest reply on Jul 13, 2016 8:05 AM by Matous Jobanek

    Arquillian java.lang.NoSuchMethodError: org.jboss.arquillian.container.spi.client.deployment.Validate.isArchiveOfType(Ljava/lang/Class;Lorg/jboss/shrinkwrap/api/Archive;)Z

    Timo Gühring Newbie

      Hi all,

       

      I am having trouble to get a simple Arquillian test run. The following error appears when I try to run Arquillian with the GlassFish remote container:

       

      Jun 12, 2016 3:50:05 PM org.jboss.arquillian.container.impl.MapObject populate

      WARNUNG: Configuration contain properties not supported by the backing object org.jboss.arquillian.container.glassfish.remote_3_1.GlassFishRestConfiguration

      Unused property entries: {jbossHome=target/jboss-as-7.1.1.Final}

      Supported property names: [adminHttps, remoteServerHttpPort, libraries, type, remoteServerAddress, target, remoteServerAdminPort, remoteServerAdminHttps, adminUser, authorisation, adminPort, properties, adminHost, adminPassword]

       

      java.lang.NoSuchMethodError: org.jboss.arquillian.container.spi.client.deployment.Validate.isArchiveOfType(Ljava/lang/Class;Lorg/jboss/shrinkwrap/api/Archive;)Z

       

          at org.jboss.arquillian.protocol.servlet.v_3.ServletProtocolDeploymentPackager.generateDeployment(ServletProtocolDeploymentPackager.java:64)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:193)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)

          at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:497)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:100)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:497)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:497)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:497)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)

          at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)

          at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

          at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

          at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)

          at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)

          at org.junit.runner.JUnitCore.run(JUnitCore.java:160)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)

          at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)

          at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:497)

          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

       

       

      Test ignored.

      Process finished with exit code 255

       

      This is the test:


      import org.jboss.shrinkwrap.api.asset.EmptyAsset;
      import org.jboss.shrinkwrap.api.spec.JavaArchive;
      import org.jboss.shrinkwrap.api.spec.WebArchive;
      import org.junit.Test;
      
      import org.jboss.arquillian.container.test.api.Deployment;
      import org.jboss.arquillian.junit.Arquillian;
      import org.jboss.arquillian.junit.InSequence;
      import org.jboss.shrinkwrap.api.ShrinkWrap;
      import org.junit.runner.RunWith;
      
      @RunWith(Arquillian.class)
      public class UserFacadeRESTTest {
      
         @Deployment(testable=true)
         public static JavaArchive createDeployment() {
        JavaArchive jar =
        ShrinkWrap.create(JavaArchive.class)
        .addClasses(UserFacadeREST.class,
         Service.class,
         ProjectDAO.class,
         UsersDAO.class)
        .addAsResource("META-INF/persistence.xml")
        .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
      
        return jar;
         }
      
         @Test
        @InSequence(0)
         public void should_create_greeting() {
      
        }
      
      }
      

      I also tried it with WebArchive instead of JavaArchive, but the error remains the same. I also tried the solution provided by "tommsdk": https://stackoverflow.com/questions/15351010/cannot-run-arquillian-test-case-on-glassfish

      but it won't resolve the dependency "import org.jboss.shrinkwrap.resolver.api.maven.Maven;".

       

      This is the pom.xml for the glassfish remote setting:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <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">
        <modelVersion>4.0.0</modelVersion>
        <groupId>de.unisaarland</groupId>
        <artifactId>discanno</artifactId>
        <version>1.0</version>
        <packaging>war</packaging>
        <name>discanno</name>
      
        <properties>
        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <version.org.jboss.arquillian>1.1.5.Final</version.org.jboss.arquillian>
        <version.org.wildfly>8.1.0.Final</version.org.wildfly>
        </properties>
      
        <dependencyManagement>
        <dependencies>
        <dependency>
        <groupId>org.jboss.arquillian</groupId>
        <artifactId>arquillian-bom</artifactId>
        <version>1.0.3.Final</version>
        <scope>import</scope>
        <type>pom</type>
        </dependency>
        </dependencies>
        </dependencyManagement>
      
        <profiles>
        <profile>
        <id>arquillian-glassfish-remote</id>
        <activation>
        <activeByDefault>true</activeByDefault>
        </activation>
        <dependencies>
        <dependency>
        <groupId>org.jboss.spec</groupId>
        <artifactId>jboss-javaee-6.0</artifactId>
        <version>1.0.0.Final</version>
        <type>pom</type>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.jboss.weld</groupId>
        <artifactId>weld-api</artifactId>
        <version>1.1.Final</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.jboss.arquillian.container</groupId>
        <artifactId>arquillian-glassfish-remote-3.1</artifactId>
        <version>1.0.0.CR4</version>
        <scope>test</scope>
        </dependency>
        </dependencies>
        </profile>
        </profiles>
      
        <dependencies>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-annotations</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-core</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>1.9.13</version>
        </dependency>
        <dependency>
        <groupId>asm</groupId>
        <artifactId>asm</artifactId>
        <version>3.3.1</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-bundle</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>20151123</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-server</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-core</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>eclipselink</artifactId>
        <version>2.6.2</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
        <version>2.6.2</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>javax.persistence</artifactId>
        <version>2.1.1</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>javax.ejb</groupId>
        <artifactId>ejb-api</artifactId>
        <version>3.0</version>
        <type>jar</type>
        </dependency>
        <dependency>
        <groupId>org.glassfish.main.extras</groupId>
        <artifactId>glassfish-embedded-all</artifactId>
        <version>4.1</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>9.3-1104-jdbc4</version>
        </dependency>
        <dependency>
        <groupId>com.voodoodyne.jackson.jsog</groupId>
        <artifactId>jackson-jsog</artifactId>
        <version>1.1</version>
        <scope>compile</scope>
        </dependency>
        <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.3.2</version>
        </dependency>
         <!-- NLP dependencies -->
         <dependency>
        <groupId>edu.stanford.nlp</groupId>
        <artifactId>stanford-corenlp</artifactId>
        <version>3.6.0</version>
        </dependency>
        <dependency>
        <groupId>org.apache.uima</groupId>
        <artifactId>uimafit-core</artifactId>
        <version>2.1.0</version>
        </dependency>
         <!-- Testing dependencies -->
         <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
         <!-- There is a bug with JUnit 4.12 and Arquillian
        https://stackoverflow.com/questions/25219233/arquillian-unsupportedoperationexception-when-use-insequence-annotation -->
         <version>4.11</version>
        <type>jar</type>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.jboss.arquillian.junit</groupId>
        <artifactId>arquillian-junit-container</artifactId>
        <version>1.1.11.Final</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.jboss.arquillian.protocol</groupId>
        <artifactId>arquillian-protocol-servlet</artifactId>
        <version>1.1.11.Final</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>com.jayway.restassured</groupId>
        <artifactId>rest-assured</artifactId>
        <version>2.9.0</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>1.4.191</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>1.9.5</version>
        <scope>test</scope>
        </dependency>
        </dependencies>
      
        <build>
        <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.5</version>
        <configuration>
        <source>1.7</source>
        <target>1.7</target>
        <compilerArguments>
        <endorseddirs>${endorsed.dir}</endorseddirs>
        </compilerArguments>
        </configuration>
        </plugin>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.3</version>
        <configuration>
        <failOnMissingWebXml>false</failOnMissingWebXml>
        </configuration>
        </plugin>
        <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.19.1</version>
        <configuration>
        <skip>false</skip>
        </configuration>
        <executions>
        <execution>
        <id>unit-test</id>
        <phase>test</phase>
        <goals>
        <goal>test</goal>
        </goals>
        <configuration>
         <!--<skip>${maven.test.skip}</skip>-->
         <skip>false</skip>
        <argLine>${argLine}</argLine>
        </configuration>
        </execution>
        <execution>
        <id>integration-test</id>
        <phase>integration-test</phase>
        <goals>
        <goal>test</goal>
        </goals>
        <configuration>
         <!--<skip>${skipITs}</skip>-->
         <skip>false</skip>
        <argLine>${argLine}</argLine>
        </configuration>
        </execution>
        </executions>
        </plugin>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.6</version>
        <executions>
        <execution>
        <phase>validate</phase>
        <goals>
        <goal>copy</goal>
        </goals>
        <configuration>
        <outputDirectory>${endorsed.dir}</outputDirectory>
        <silent>true</silent>
        <artifactItems>
        <artifactItem>
        <groupId>javax</groupId>
        <artifactId>javaee-endorsed-api</artifactId>
        <version>7.0</version>
        <type>jar</type>
        </artifactItem>
        </artifactItems>
        </configuration>
        </execution>
        </executions>
        </plugin>
        </plugins>
        </build>
      </project>
      

      Unfortunately it is quite a big project therefore the pom is quite big as well. This is the error message when I try to run the test with the wildfly managed configuration:

       

      Test ignored.Jun 12, 2016 4:04:36 PM org.jboss.as.arquillian.container.managed.ManagedDeployableContainer startInternal

      INFORMATION: Starting container with: [/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/bin/java, -Xmx512m, -XX:MaxPermSize=256m, -ea, -Djboss.home.dir=target/wildfly-8.1.0.Final, -Dorg.jboss.boot.log.file=/Users/timtoheus/NetBeansProjects/discanno/target/wildfly-8.1.0.Final/standalone/log/server.log, -Dlogging.configuration=file:/Users/timtoheus/NetBeansProjects/discanno/target/wildfly-8.1.0.Final/standalone/configuration/logging.properties, -Djboss.bundles.dir=target/wildfly-8.1.0.Final/bundles, -jar, /Users/timtoheus/NetBeansProjects/discanno/target/wildfly-8.1.0.Final/jboss-modules.jar, -mp, target/wildfly-8.1.0.Final/modules, org.jboss.as.standalone, -server-config, standalone.xml]

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

      Jun 12, 2016 4:04:37 PM org.xnio.Xnio <clinit>

      INFO: XNIO version 3.2.2.Final

      Jun 12, 2016 4:04:37 PM org.xnio.nio.NioXnio <clinit>

      INFO: XNIO NIO Implementation Version 3.2.2.Final

      Jun 12, 2016 4:04:37 PM org.jboss.remoting3.EndpointImpl <clinit>

      INFO: JBoss Remoting version 4.0.3.Final

      16:04:37,529 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

      16:04:37,768 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

      16:04:37,866 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.1.0.Final "Kenny" starting

      16:04:38,909 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

      16:04:38,931 INFO  [org.xnio] (MSC service thread 1-13) XNIO version 3.2.2.Final

      16:04:38,941 INFO  [org.xnio.nio] (MSC service thread 1-13) XNIO NIO Implementation Version 3.2.2.Final

      16:04:38,966 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 45) JBAS013171: Activating Security Subsystem

      [0;33m16:04:38,967 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

      [0;0m16:04:38,968 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.

      16:04:38,978 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 38) JBAS012615: Activated the following JSF Implementations: [main]

      16:04:38,979 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem

      [0;0m16:04:38,978 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 31) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors

      [0;0m16:04:38,979 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      16:04:38,984 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013170: Current PicketBox version=4.0.21.Beta1

      16:04:39,015 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-9) JBAS017502: Undertow 1.0.15.Final starting

      [0;0m16:04:39,015 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017502: Undertow 1.0.15.Final starting

      16:04:39,048 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.5.Final)

      16:04:39,065 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      16:04:39,074 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2

      16:04:39,097 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service

      [0;0m16:04:39,098 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]

      16:04:39,107 INFO  [org.jboss.remoting] (MSC service thread 1-13) JBoss Remoting version 4.0.3.Final

      16:04:39,199 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017527: Creating file handler for path /Users/timtoheus/NetBeansProjects/discanno/target/wildfly-8.1.0.Final/welcome-content

      16:04:39,248 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017525: Started server default-server.

      16:04:39,352 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017531: Host default-host starting

      16:04:39,417 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:8080

      16:04:39,577 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory /Users/timtoheus/NetBeansProjects/discanno/target/wildfly-8.1.0.Final/standalone/deployments

      16:04:39,605 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      16:04:39,782 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.4.Final

      16:04:39,820 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

      [0;0m16:04:39,821 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      [0;0m16:04:39,822 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.1.0.Final "Kenny" started in 2692ms - Started 184 of 233 services (81 services are lazy, passive or on-demand)

      java.lang.NoSuchMethodError: org.jboss.arquillian.container.spi.client.deployment.Validate.isArchiveOfType(Ljava/lang/Class;Lorg/jboss/shrinkwrap/api/Archive;)Z

       

       

        at org.jboss.arquillian.protocol.servlet.v_3.ServletProtocolDeploymentPackager.generateDeployment(ServletProtocolDeploymentPackager.java:64)

        at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:193)

        at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)

        at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

        at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:100)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

        at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

        at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)

        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

        at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)

        at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)

        at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

        at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

        at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)

        at org.junit.runner.JUnitCore.run(JUnitCore.java:160)

        at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)

        at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)

        at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)

        at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

       

       

      16:04:44,069 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-11) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]

      [0;0m16:04:44,069 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-12) JBAS017532: Host default-host stopping

      16:04:44,076 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) JBAS010418: Stopped Driver service with driver-name = h2

      [0;0m16:04:44,078 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS017521: Undertow HTTP listener default suspending

      [0;0m16:04:44,079 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-16) JBAS017520: Undertow HTTP listener default stopped, was bound to /127.0.0.1:8080

      [0;0m16:04:44,081 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-12) JBAS017506: Undertow 1.0.15.Final stopping

      Jun 12, 2016 4:04:44 PM org.jboss.remoting3.remote.RemoteConnection handleException

      ERROR: JBREM000200: Remote connection failed: java.io.IOException: Connection reset by peer

      16:04:44,090 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015950: WildFly 8.1.0.Final "Kenny" stopped in 22ms

       

       

      Process finished with exit code 255

       

      This is the corresponding pom.xml:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <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">
        <modelVersion>4.0.0</modelVersion>
        <groupId>de.unisaarland</groupId>
        <artifactId>discanno</artifactId>
        <version>1.0</version>
        <packaging>war</packaging>
        <name>discanno</name>
      
        <properties>
        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <version.org.jboss.arquillian>1.1.5.Final</version.org.jboss.arquillian>
        <version.org.wildfly>8.1.0.Final</version.org.wildfly>
        </properties>
      
        <dependencyManagement>
        <dependencies>
        <dependency>
        <groupId>org.jboss.arquillian</groupId>
        <artifactId>arquillian-bom</artifactId>
        <version>1.0.3.Final</version>
        <scope>import</scope>
        <type>pom</type>
        </dependency>
        </dependencies>
        </dependencyManagement>
      
        <profiles>
        <profile>
        <id>arq-wildfly-managed</id>
        <activation>
        <activeByDefault>true</activeByDefault>
        </activation>
        <dependencies>
        <dependency>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-arquillian-container-managed</artifactId>
        <version>${version.org.wildfly}</version>
        <scope>test</scope>
        </dependency>
        </dependencies>
        <build>
        <testResources>
        <testResource>
        <directory>src/test/resources</directory>
        </testResource>
        </testResources>
        <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
        <execution>
        <id>unpack</id>
        <phase>process-test-classes</phase>
        <goals>
        <goal>unpack</goal>
        </goals>
        <configuration>
        <artifactItems>
        <artifactItem>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-dist</artifactId>
        <version>${version.org.wildfly}</version>
        <type>zip</type>
        <overWrite>false</overWrite>
        <outputDirectory>${project.build.directory}</outputDirectory>
        </artifactItem>
        </artifactItems>
        </configuration>
        </execution>
        </executions>
        </plugin>
        </plugins>
        </build>
        </profile>
        </profiles>
      
        <dependencies>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-annotations</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-core</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.7.0</version>
        </dependency>
        <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>1.9.13</version>
        </dependency>
        <dependency>
        <groupId>asm</groupId>
        <artifactId>asm</artifactId>
        <version>3.3.1</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-bundle</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>org.json</groupId>
        <artifactId>json</artifactId>
        <version>20151123</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-server</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>com.sun.jersey</groupId>
        <artifactId>jersey-core</artifactId>
        <version>1.19</version>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>eclipselink</artifactId>
        <version>2.6.2</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
        <version>2.6.2</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.eclipse.persistence</groupId>
        <artifactId>javax.persistence</artifactId>
        <version>2.1.1</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>javax.ejb</groupId>
        <artifactId>ejb-api</artifactId>
        <version>3.0</version>
        <type>jar</type>
        </dependency>
        <dependency>
        <groupId>org.glassfish.main.extras</groupId>
        <artifactId>glassfish-embedded-all</artifactId>
        <version>4.1</version>
        <scope>provided</scope>
        </dependency>
        <dependency>
        <groupId>org.postgresql</groupId>
        <artifactId>postgresql</artifactId>
        <version>9.3-1104-jdbc4</version>
        </dependency>
        <dependency>
        <groupId>com.voodoodyne.jackson.jsog</groupId>
        <artifactId>jackson-jsog</artifactId>
        <version>1.1</version>
        <scope>compile</scope>
        </dependency>
        <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-io</artifactId>
        <version>1.3.2</version>
        </dependency>
         <!-- NLP dependencies -->
         <dependency>
        <groupId>edu.stanford.nlp</groupId>
        <artifactId>stanford-corenlp</artifactId>
        <version>3.6.0</version>
        </dependency>
        <dependency>
        <groupId>org.apache.uima</groupId>
        <artifactId>uimafit-core</artifactId>
        <version>2.1.0</version>
        </dependency>
         <!-- Testing dependencies -->
         <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
         <!-- There is a bug with JUnit 4.12 and Arquillian
        https://stackoverflow.com/questions/25219233/arquillian-unsupportedoperationexception-when-use-insequence-annotation -->
         <version>4.11</version>
        <type>jar</type>
        <scope>test</scope>
        </dependency>
      
        <dependency>
        <groupId>org.jboss.arquillian.junit</groupId>
        <artifactId>arquillian-junit-container</artifactId>
        <version>1.1.11.Final</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.jboss.arquillian.protocol</groupId>
        <artifactId>arquillian-protocol-servlet</artifactId>
        <version>1.1.11.Final</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>com.jayway.restassured</groupId>
        <artifactId>rest-assured</artifactId>
        <version>2.9.0</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <version>1.4.191</version>
        <scope>test</scope>
        </dependency>
        <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>1.9.5</version>
        <scope>test</scope>
        </dependency>
        </dependencies>
      
        <build>
        <plugins>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.5</version>
        <configuration>
        <source>1.7</source>
        <target>1.7</target>
        <compilerArguments>
        <endorseddirs>${endorsed.dir}</endorseddirs>
        </compilerArguments>
        </configuration>
        </plugin>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.3</version>
        <configuration>
        <failOnMissingWebXml>false</failOnMissingWebXml>
        </configuration>
        </plugin>
        <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.19.1</version>
        <configuration>
        <skip>false</skip>
        </configuration>
        <executions>
        <execution>
        <id>unit-test</id>
        <phase>test</phase>
        <goals>
        <goal>test</goal>
        </goals>
        <configuration>
         <!--<skip>${maven.test.skip}</skip>-->
         <skip>false</skip>
        <argLine>${argLine}</argLine>
        </configuration>
        </execution>
        <execution>
        <id>integration-test</id>
        <phase>integration-test</phase>
        <goals>
        <goal>test</goal>
        </goals>
        <configuration>
         <!--<skip>${skipITs}</skip>-->
         <skip>false</skip>
        <argLine>${argLine}</argLine>
        </configuration>
        </execution>
        </executions>
        </plugin>
        <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.6</version>
        <executions>
        <execution>
        <phase>validate</phase>
        <goals>
        <goal>copy</goal>
        </goals>
        <configuration>
        <outputDirectory>${endorsed.dir}</outputDirectory>
        <silent>true</silent>
        <artifactItems>
        <artifactItem>
        <groupId>javax</groupId>
        <artifactId>javaee-endorsed-api</artifactId>
        <version>7.0</version>
        <type>jar</type>
        </artifactItem>
        </artifactItems>
        </configuration>
        </execution>
        </executions>
        </plugin>
        </plugins>
        </build>
      </project>
      


       

      The corresponding arquillian.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <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">
      
         <!-- Sets the protocol which is how Arquillian talks and executes the tests inside the container -->
         <defaultProtocol type="Servlet 3.0" />
         <!-- <defaultProtocol type="jmx-as7" /> -->
      
        <!-- Configuration to be used when the WildFly managed profile is active -->
         <container qualifier="widlfly-managed" default="true">
        <configuration>
        <property name="jbossHome">${jbossHome:target/wildfly-8.1.0.Final}</property>
        </configuration>
        </container>
      </arquillian>
      


      Additionally here is the mvn dependency tree output if that helps you:


      [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2

      [INFO]

      [INFO] --- maven-dependency-plugin:2.6:tree (default-cli) @ discanno ---

      [WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2

      [INFO] de.unisaarland:discanno:war:1.0

      [INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.0:compile

      [INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.7.0:compile

      [INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.0:compile

      [INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile

      [INFO] |  \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile

      [INFO] +- asm:asm:jar:3.3.1:compile

      [INFO] +- com.sun.jersey:jersey-bundle:jar:1.19:compile

      [INFO] |  \- javax.ws.rs:jsr311-api:jar:1.1.1:compile

      [INFO] +- org.json:json:jar:20151123:compile

      [INFO] +- com.sun.jersey:jersey-server:jar:1.19:compile

      [INFO] +- com.sun.jersey:jersey-core:jar:1.19:compile

      [INFO] +- org.eclipse.persistence:eclipselink:jar:2.6.2:provided

      [INFO] |  +- org.eclipse.persistence:commonj.sdo:jar:2.1.1:provided

      [INFO] |  +- javax.validation:validation-api:jar:1.1.0.Final:provided

      [INFO] |  \- org.glassfish:javax.json:jar:1.0.4:provided

      [INFO] +- org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor:jar:2.6.2:provided

      [INFO] |  +- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.6.2:provided

      [INFO] |  |  \- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.6.2:provided

      [INFO] |  \- org.eclipse.persistence:org.eclipse.persistence.jpa:jar:2.6.2:provided

      [INFO] |     +- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.6.2:provided

      [INFO] |     \- org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:jar:2.6.2:provided

      [INFO] +- org.eclipse.persistence:javax.persistence:jar:2.1.1:provided

      [INFO] +- javax.ejb:ejb-api:jar:3.0:compile

      [INFO] +- org.glassfish.main.extras:glassfish-embedded-all:jar:4.1:provided

      [INFO] |  \- com.sun:tools-jar:jar:1:system

      [INFO] +- org.postgresql:postgresql:jar:9.3-1104-jdbc4:compile

      [INFO] +- com.voodoodyne.jackson.jsog:jackson-jsog:jar:1.1:compile

      [INFO] +- commons-io:commons-io:jar:1.3.2:compile

      [INFO] +- edu.stanford.nlp:stanford-corenlp:jar:3.6.0:compile

      [INFO] |  +- com.io7m.xom:xom:jar:1.2.10:compile

      [INFO] |  |  +- xml-apis:xml-apis:jar:1.3.03:compile

      [INFO] |  |  +- xerces:xercesImpl:jar:2.8.0:compile

      [INFO] |  |  \- xalan:xalan:jar:2.7.0:compile

      [INFO] |  +- joda-time:joda-time:jar:2.9:compile

      [INFO] |  +- de.jollyday:jollyday:jar:0.4.7:compile

      [INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.2.7:compile

      [INFO] |  +- com.googlecode.efficient-java-matrix-library:ejml:jar:0.23:compile

      [INFO] |  +- javax.json:javax.json-api:jar:1.0:compile

      [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.12:compile

      [INFO] +- org.apache.uima:uimafit-core:jar:2.1.0:compile

      [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile

      [INFO] |  +- commons-logging:commons-logging-api:jar:1.1:compile

      [INFO] |  +- org.apache.uima:uimaj-core:jar:2.6.0:compile

      [INFO] |  +- org.springframework:spring-core:jar:3.1.2.RELEASE:compile

      [INFO] |  |  +- org.springframework:spring-asm:jar:3.1.2.RELEASE:compile

      [INFO] |  |  \- commons-logging:commons-logging:jar:1.1.1:compile

      [INFO] |  +- org.springframework:spring-context:jar:3.1.2.RELEASE:compile

      [INFO] |  |  +- org.springframework:spring-aop:jar:3.1.2.RELEASE:compile

      [INFO] |  |  |  \- aopalliance:aopalliance:jar:1.0:compile

      [INFO] |  |  \- org.springframework:spring-expression:jar:3.1.2.RELEASE:compile

      [INFO] |  \- org.springframework:spring-beans:jar:3.1.2.RELEASE:compile

      [INFO] +- junit:junit:jar:4.11:test

      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test

      [INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.11.Final:test

      [INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.0.3.Final:test (version managed from 1.0.3.Final)

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.1:test (version managed from 1.0.1)

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.0.3.Final:test (version managed from 1.0.3.Final)

      [INFO] |  |  \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.0.3.Final:test (version managed from 1.0.3.Final)

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.1:test (version managed from 1.2.3)

      [INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.1:test (version managed from 1.0.1)

      [INFO] +- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.1.11.Final:test

      [INFO] |  +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.0.3.Final:test (version managed from 1.1.11.Final)

      [INFO] |  |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-3:test (version managed from 2.0.0-alpha-3)

      [INFO] |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-3:test (version managed from 2.0.0-alpha-8)

      [INFO] +- com.jayway.restassured:rest-assured:jar:2.9.0:test

      [INFO] |  +- org.codehaus.groovy:groovy:jar:2.4.4:test

      [INFO] |  +- org.codehaus.groovy:groovy-xml:jar:2.4.4:test

      [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.1:test

      [INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.3:test

      [INFO] |  |  \- commons-codec:commons-codec:jar:1.9:test

      [INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.1:test

      [INFO] |  +- org.hamcrest:hamcrest-library:jar:1.3:test

      [INFO] |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test

      [INFO] |  +- com.jayway.restassured:json-path:jar:2.9.0:test

      [INFO] |  |  +- org.codehaus.groovy:groovy-json:jar:2.4.4:test

      [INFO] |  |  \- com.jayway.restassured:rest-assured-common:jar:2.9.0:test

      [INFO] |  \- com.jayway.restassured:xml-path:jar:2.9.0:test

      [INFO] |     \- org.apache.commons:commons-lang3:jar:3.3.2:test

      [INFO] +- com.h2database:h2:jar:1.4.191:test

      [INFO] +- org.mockito:mockito-core:jar:1.9.5:test

      [INFO] |  \- org.objenesis:objenesis:jar:1.0:test

      [INFO] \- org.wildfly:wildfly-arquillian-container-managed:jar:8.1.0.Final:test

      [INFO]    +- org.wildfly:wildfly-arquillian-common:jar:8.1.0.Final:test

      [INFO]    |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-osgi:jar:2.1.0.CR2:test

      [INFO]    |  +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    |  +- org.wildfly:wildfly-arquillian-testenricher-msc:jar:8.1.0.Final:test

      [INFO]    |  |  +- org.wildfly:wildfly-server:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-controller:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  +- org.wildfly:wildfly-core-security:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  |  \- org.wildfly:wildfly-core-security-api:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  \- org.jboss:staxmapper:jar:1.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-domain-http-interface:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  \- org.wildfly:wildfly-domain-management:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-deployment-repository:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-patching:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  \- org.wildfly:wildfly-cli:jar:8.1.0.Final:test

      [INFO]    |  |  |  |     +- org.jboss.aesh:aesh:jar:0.33.11:test

      [INFO]    |  |  |  |     |  \- org.fusesource.jansi:jansi:jar:1.9:test

      [INFO]    |  |  |  |     \- sun.jdk:jconsole:jar:jdk:system

      [INFO]    |  |  |  +- org.wildfly:wildfly-platform-mbean:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-process-controller:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-remoting:jar:8.1.0.Final:test

      [INFO]    |  |  |  |  \- org.wildfly:wildfly-io:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-network:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.wildfly:wildfly-version:jar:8.1.0.Final:test

      [INFO]    |  |  |  +- org.jboss:jandex:jar:1.1.0.Final:test

      [INFO]    |  |  |  +- org.jboss.invocation:jboss-invocation:jar:1.2.1.Final:test

      [INFO]    |  |  |  +- org.jboss.logmanager:jboss-logmanager:jar:1.5.2.Final:test

      [INFO]    |  |  |  +- org.jboss.modules:jboss-modules:jar:1.3.3.Final:test

      [INFO]    |  |  |  +- org.jboss.stdio:jboss-stdio:jar:1.0.2.GA:test

      [INFO]    |  |  |  +- org.jboss:jboss-vfs:jar:3.2.5.Final:test

      [INFO]    |  |  |  \- io.undertow:undertow-core:jar:1.0.15.Final:test

      [INFO]    |  |  \- org.jboss.msc:jboss-msc:jar:1.2.2.Final:test

      [INFO]    |  +- org.wildfly:wildfly-controller-client:jar:8.1.0.Final:test

      [INFO]    |  |  +- org.wildfly:wildfly-protocol:jar:8.1.0.Final:test

      [INFO]    |  |  +- org.jboss:jboss-dmr:jar:1.2.0.Final:test

      [INFO]    |  |  \- org.jboss.threads:jboss-threads:jar:2.1.1.Final:test

      [INFO]    |  +- org.wildfly:wildfly-jmx:jar:8.1.0.Final:test

      [INFO]    |  |  \- org.jboss:jboss-common-core:jar:2.2.22.GA:test

      [INFO]    |  \- org.osgi:org.osgi.core:jar:5.0.0:test

      [INFO]    +- org.wildfly:wildfly-arquillian-protocol-jmx:jar:8.1.0.Final:test

      [INFO]    |  +- org.wildfly.security:wildfly-security-manager:jar:1.0.0.Final:test

      [INFO]    |  +- org.jboss.arquillian.protocol:arquillian-protocol-jmx:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    |  \- org.jboss.osgi.metadata:jbosgi-metadata:jar:3.0.1.Final:test

      [INFO]    +- org.jboss.xnio:xnio-api:jar:3.2.2.Final:test

      [INFO]    +- org.jboss.xnio:xnio-nio:jar:3.2.2.Final:test

      [INFO]    +- org.jboss.logging:jboss-logging:jar:3.1.4.GA:test

      [INFO]    +- org.jboss.marshalling:jboss-marshalling:jar:1.4.6.Final:test

      [INFO]    +- org.jboss.marshalling:jboss-marshalling-river:jar:1.4.6.Final:test

      [INFO]    +- org.jboss.remoting:jboss-remoting:jar:4.0.3.Final:test

      [INFO]    +- org.jboss.remotingjmx:remoting-jmx:jar:2.0.0.Final:test

      [INFO]    +- org.jboss.sasl:jboss-sasl:jar:1.0.4.Final:test

      [INFO]    +- javax.inject:javax.inject:jar:1:test

      [INFO]    +- org.jboss.arquillian.core:arquillian-core-api:jar:1.0.3.Final:test (version managed from 1.1.2.Final-wildfly-1)

      [INFO]    \- org.wildfly:wildfly-build-config:jar:8.1.0.Final:test


      I really tried a lot of configurations and researched a lot but I didn't work. Meanwhile I do not care in which container the tests run. I would prefer GlassFish, because we use GlassFish as application server, but I ran also into a lot of issues with the embedded GlassFish container. Therefore it would be also okay if it works with the remote GlassFish oder managed Wildfly container. Unfortunately the provided syntax highlighting seems to be buggy, therefore sorry when the code has not the best formatting.


      I hope somebody can give me hint.


      Kind regards and thanks.