Получавам изключението
FAILED CONFIGURATION: @BeforeSuite arquillianBeforeSuite
java.lang.NoSuchMethodError: org.jboss.remoting3.Endpoint.builder()Lorg/jboss/remoting3/EndpointBuilder;
at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:117)
at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:59)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
Изпълнение на Arquillian тестове в Eclipse кислород с TestNG и wildfly11. Моята Maven конфигурация е както следва:
<dependency>
<groupId>org.jboss.arquillian.testng</groupId>
<artifactId>arquillian-testng-container</artifactId>
<version>1.1.13.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.11</version>
</dependency>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>2.0.1.Final</version>
<scope>test</scope>
</dependency>
Отговори:
0 за отговор № 1Решението беше:
премахване на Wildfly 11 Runtime от Classpath.
- Кликнете с десния бутон върху проекта
- Изграждане на пътя
- Конфигуриране на пътя за създаване
- Библиотеки (Tab)
- премахни Wildfly 11 Runtime (или Wildfly 10 Runtime)
Защо е необходимо това? Коментарите са добре дошли ...