CXF整合遇到的问题-JAR包冲突 博客分类: cxf cxf
程序员文章站
2024-02-16 15:37:22
...
启动TOMCAT异常提示如下:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Message': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.ws.commons.schema.XmlSchemaCollection.read(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/apache/ws/commons/schema/XmlSchema;
XmlSchema JAR包冲突 :XmlSchema-1.4.7.jar (旧) 和 xmlschema-core-2.0.3.jar (新)
去掉旧的.其他的也同理解决