Caused by:

java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl does not implement the requested interface javax.wsdl.extensions.AttributeExtensible

1

There are 1 best solutions below

6
Naman On

The reason for axis-wsdl4j-1.5.1.jar getting downloaded when you try and build using axis:1.4 in your project is that it is defined within dependency for the artifact itself..

If you don't want to download axis-wsdl4j-1.5.1.jar, you can exclude it from your project by making following changes to your pom.xml -

<dependencies>
    <dependency>
         <groupId>axis</groupId>
         <artifactId>axis</artifactId>
         <version>1.4</version>
         <exclusions>
             <exclusion>  <!-- declaring the exclusion here -->
                 <groupId>axis</groupId>
                 <artifactId>axis-wsdl4j</artifactId>
             </exclusion>
         </exclusions> 
   </dependency>
   <!--...other dependencies -->
<dependencies>