Skip to content

Instantly share code, notes, and snippets.

@saburto
Created November 24, 2015 00:57
Show Gist options
  • Save saburto/5e90ed4f4afecf190fde to your computer and use it in GitHub Desktop.
Save saburto/5e90ed4f4afecf190fde to your computer and use it in GitHub Desktop.
wsimport class name collision. When this error happen "A class/interface with the same name "" is already in use. Use a class customization to resolve this conflict"
<!-- usage of jax-ws maven plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.12</version>
<executions>
<execution>
<id>wsimport-from-jdk</id>
<goals>
<goal>wsimport</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- using wsdl from an url -->
<wsdlUrls>
<wsdlUrl>
http://
</wsdlUrl>
</wsdlUrls>
<keep>true</keep>
<verbose>true</verbose>
<xjcArgs>
<xjcArg>-XautoNameResolution</xjcArg>
</xjcArgs>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment