[jbossws-issues] [JBoss JIRA] Commented: (JBWS-3052) NoClassDefFoundError: com/sun/xml/ws/policy/sourcemodel/wspolicy/NamespaceVersion

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Tue Jun 29 04:44:46 EDT 2010


    [ https://jira.jboss.org/browse/JBWS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537278#action_12537278 ] 

Alessio Soldano commented on JBWS-3052:
---------------------------------------

This seems to be an issue with the JBoss AS 6 M3 build. Basically, the org.apache.ws.policy:wscommons-policy artifacts has overwritten the com.sun.xml.ws:policy one, while both should have been included.
The current AS trunk is using the jbossws-cxf stack, so this problem should be already solved.

> NoClassDefFoundError: com/sun/xml/ws/policy/sourcemodel/wspolicy/NamespaceVersion
> ---------------------------------------------------------------------------------
>
>                 Key: JBWS-3052
>                 URL: https://jira.jboss.org/browse/JBWS-3052
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: tools-jaxws
>            Reporter: Lukas Jungmann
>            Assignee: Alessio Soldano
>
> jlukas at lukas-laptop:/tmp/aaa$ /space/java/servers/jboss-6.0.0.20100429-M3/bin/wsconsume.sh -k --verbose http://www.ecubicle.net/iptocountry.asmx?wsdl
> parsing WSDL...
> Error: Could not import. (use --verbose to see full traces)
> java.lang.NoClassDefFoundError: com/sun/xml/ws/policy/sourcemodel/wspolicy/NamespaceVersion
> at com.sun.tools.ws.wsdl.parser.PolicyExtensionHandler.getNamespaceURI(PolicyExtensionHandler.java:57)
> at com.sun.tools.ws.wsdl.parser.WSDLParser.register(WSDLParser.java:131)
> at com.sun.tools.ws.wsdl.parser.WSDLParser.<init>(WSDLParser.java:123)
> at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:109)
> at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:185)
> at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:246)
> at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:240)
> at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:86)
> Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion
> 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 8 more
> jlukas at lukas-laptop:/tmp/aaa$ java -version
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
> This works fine if I use JBossWS included in JBossAS 5.x
> see also JBIDE-6390

-- 
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