Java Apache CXF CachedOutStream NoClassDefFoundError
救命啊 我在尝试使用JAX-WS Web服务调用进行连接时遇到此错误: java.lang.NoClassDefFoundError:org/apache/cxf/io/CachedOutputStream 知道发生了什么事吗 更新:我添加了所有这些jar文件Java Apache CXF CachedOutStream NoClassDefFoundError,java,web-services,Java,Web Services,救命啊 我在尝试使用JAX-WS Web服务调用进行连接时遇到此错误: java.lang.NoClassDefFoundError:org/apache/cxf/io/CachedOutputStream 知道发生了什么事吗 更新:我添加了所有这些jar文件 cxf.jar commons-logging.jar geronimo-activation.jar(或Sun的等效版本)[6] geronimo-annotation.jar(或Sun等效工具)[6] geronimo-javama
- cxf.jar
- commons-logging.jar
- geronimo-activation.jar(或Sun的等效版本)[6]
- geronimo-annotation.jar(或Sun等效工具)[6]
- geronimo-javamail.jar(或Sun的等效版本)[6] (如果不使用任何MTOM/SAAJ类型的东西,可以删除javamail)
- geronimo-stax-api.jar(或Sun的等效版本)[6]
- 尼西罐子
- jaxb-api.jar[6]
- jaxb-impl.jar(对于正常运行时,这是一个[6],但对于 工具和动态客户机)
- XmlSchema.jar
- woodstox-core-asl.jar[6]或其他StAX实现
- 上述woodstox的stax2-api-3.0.1.jar[6]
- wsdl4j.jar
org.springframework.beans.factory.BeanCreationException:创建名为“org.apache.cxf.binding.soap.CustomeditorConfigure”的bean时出错,该名称在URL[jar:file:/opt/local/share/java/tomcat6/lib/cxf-2.3.3.jar!/META-INF/cxf/cxf extension soap.fixml]中定义:bean初始化失败;嵌套异常为org.springframework.beans.ConversionNotSupportedException:未能将类型为“java.util.ArrayList”的属性值转换为属性“propertyEditorRegistrars”所需的类型“org.springframework.beans.PropertyEditorRegistrar[]”;嵌套异常为java.lang.IllegalStateException:无法将[org.apache.cxf.binding.soap.spring.SoapVersionRegistrar]类型的值转换为属性“propertyEditorRegistrars[0]所需的类型[org.springframework.beans.PropertyEditorRegistrar]“:找不到匹配的编辑器或转换策略类路径中没有所有的CXF。你读了那份JARS文件了吗?您是如何设置类路径的 请注意,没有“cxf.jar”这样的东西。它总是“cxf VERSION.jar”,这同样适用于其他重新分发的jar。将哪些_jar与lib dir的内容进行比较