I am trying to use the maven-jaxws-tools-plugin (v1.0.0 GA) with the goal being wsprovide, and am having little success. I had a number missing dependencies which I had to scour the internet for, and eventually, having followed several tutorials and blogs etc I think I've got them all in correctly. But now I am left with an error which I am struggling to resolve.
This is the stacktrace:-
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.jboss.wsf.spi.tools.WSContractProvider.setExtension(Z)V [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: org.jboss.wsf.spi.tools.WSContractProvider.setExtension(Z)V at org.jboss.ws.plugins.tools.AbstractWsProvideMojo.setupProvider(AbstractWsProvideMojo.java:111) at org.jboss.ws.plugins.tools.AbstractWsProvideMojo.execute(AbstractWsProvideMojo.java:94) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Can anyone suggest what I am missing? My dependencies are:-
- org.jboss.ws.native jboss-native-client 3.1.2.GA
- apache.log4j log4j 1.2.14
- javax.mail mail 1.4
- jboss.web servlet-api 2.1.3.GA
- org.jboss.ws jbossws-spi 1.1.2.GA
- org.jboss.javaee jboss-javaee 5.1.0.GA
- org.jboss.naming jnpserver 5.0.3.GA
- org.jboss.remoting jboss-remoting 2.5.1