At first, only the import cxf.jar
Run-time error:
Exception in thread "main" java.lang.IncompatibleClassChangeError: Implementing class
Finding a pass online, indicating jar package conflicts, but because there are hundreds of projects in jar, easy to find.
Another thought.
All packets cxf jar introduced. Run error:
Exception in thread "main" java.lang.NoSuchFieldError: QUALIFIED
Found on the Internet this statement:
The reason: cxf dependent xmlschema-core and axis2-kernel dependent xmlschema conflict.
Solution: Because in the project so you can delete only cxf axis2 dependence.
Thus removed axis2-kernel corresponding to the jar package, the same error.
Unsuccessful.
Another argument:
XmlSchema JAR package conflicts: XmlSchema-1.4.7.jar (old) and xmlschema-core-2.0.3.jar (new)
Remove the old one. The same also solve other
Therefore, I also removed XmlSchema this old jar package, run,
Resolves.
Reproduced in: https: //my.oschina.net/u/2552902/blog/543907