[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3065) Wrong error message reported on wsprovide plugin exceptions
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Mon Jun 14 06:56:46 EDT 2010
[ https://jira.jboss.org/browse/JBWS-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano updated JBWS-3065:
----------------------------------
Summary: Wrong error message reported on wsprovide plugin exceptions (was: maven-jaxws-tools-plugin 1.0.0.GA wsprovide goal invokes wsconsume)
> Wrong error message reported on wsprovide plugin exceptions
> -----------------------------------------------------------
>
> Key: JBWS-3065
> URL: https://jira.jboss.org/browse/JBWS-3065
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Affects Versions: jbossws-native-3.1.2
> Environment: OS name: "mac os x" version: "10.6.3" arch: "x86_64", Darwin Kernel Version 10.3.0, std mac java version "1.6.0_20", JBoss 5.1.0.GA, maven 2.2.1
> Reporter: Steve Tarver
> Priority: Minor
>
> Adding the first wsprovide maven example from http://community.jboss.org/wiki/JBossWS-wsprovide :
> <plugin>
> <groupId>org.jboss.ws.plugins</groupId>
> <artifactId>maven-jaxws-tools-plugin</artifactId>
> <version>1.0.0.GA</version>
> <configuration>
> <verbose>true</verbose>
> <endpointClass>org.jboss.test.ws.plugins.tools.wsprovide.TestEndpoint</endpointClass>
> <generateWsdl>true</generateWsdl>
> </configuration>
> <executions>
> <execution>
> <goals>
> <goal>wsprovide</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> yields
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error while running wsconsume
> Embedded error: Failed to load: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl
> [INFO] ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error while running wsconsume
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error while running wsconsume
> at org.jboss.ws.plugins.tools.AbstractWsProvideMojo.execute(AbstractWsProvideMojo.java:100)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> ... 17 more
> Caused by: java.lang.IllegalStateException: Failed to load: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl
> at org.jboss.wsf.spi.util.ServiceLoader.loadDefault(ServiceLoader.java:236)
> at org.jboss.wsf.spi.util.ServiceLoader.loadFromSystemProperty(ServiceLoader.java:169)
> at org.jboss.wsf.spi.util.ServiceLoader.loadService(ServiceLoader.java:77)
> at org.jboss.wsf.spi.tools.WSContractProvider.newInstance(WSContractProvider.java:86)
> at org.jboss.wsf.spi.tools.WSContractProvider.newInstance(WSContractProvider.java:70)
> at org.jboss.ws.plugins.tools.AbstractWsProvideMojo.execute(AbstractWsProvideMojo.java:93)
> ... 19 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.jboss.wsf.spi.util.SecurityActions.loadClass(SecurityActions.java:123)
> at org.jboss.wsf.spi.util.ServiceLoader.loadDefault(ServiceLoader.java:231)
> ... 24 more
> Note the error is in wsconsume but the goal is wsprovide.
> About the JBossWSProviderFactoryImpl missing - I still haven't successfully run the plugin. I have been scouring doc and google and have tried everything I can think of. I even added all the files from wsprovide.sh classpath additions and the above is the result.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list