-
1. Re: Arquillian remote deployment on wildfly 9.0.1-final is failing . ....NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient
mjobanek Aug 19, 2015 3:02 AM (in response to sumncc)Hi Raj,
try to update to newer container adapter:
<dependency> <groupId>org.wildfly.arquillian</groupId> <artifactId>wildfly-arquillian-container-remote</artifactId> <version>1.0.1.Final</version> </dependency>
You are using an adapter suitable only for WF8 and older versions.
-
2. Re: Arquillian remote deployment on wildfly 9.0.1-final is failing . ....NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient
sumncc Aug 19, 2015 4:36 AM (in response to mjobanek)Hi Matous ,
Thanks for your reply.
I had a go with this but still the same.
test.com.animation2000.sdparent.sdlib.account.service.AccountServiceTest Time elapsed: 4.367 sec <<< ERROR!
java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;)Lorg/jboss/as/controller/client/ModelControllerClient;
at org.jboss.as.arquillian.container.CommonDeployableContainer.start(CommonDeployableContainer.java:86)
at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:199)
Thanks
Raj
-
3. Re: Arquillian remote deployment on wildfly 9.0.1-final is failing . ....NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient
mjobanek Aug 21, 2015 2:07 AM (in response to sumncc)Hi Raj
I've noticed that you use also the old version of:
<dependency> <groupId>org.wildfly</groupId> <artifactId>wildfly-security</artifactId> <version>8.1.0.Final</version> <scope>provided</scope> </dependency>
please update it to 9.0.1.Final
However, the dependency that causes the error is this one:
<dependency> <groupId>org.jboss.as</groupId> <artifactId>jboss-as-security</artifactId> <version>7.1.1.Final</version> </dependency>
I'm not 100% sure, but I think that the correct dependency should be:
<dependency> <groupId>org.wildfly</groupId> <artifactId>wildfly-security</artifactId> <version>9.0.1.Final</version> </dependency>
Thanks
Matous
-
4. Re: Arquillian remote deployment on wildfly 9.0.1-final is failing . ....NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient
sumncc Sep 7, 2015 7:43 AM (in response to mjobanek)Hi Matous,
Sorry for delay as I was away from work for last tow weeks (Paternity Leave ) .
Spot-on. You just did it. It worked.
Thank you very much for your times on it.
Raj