我使用Maven我的Java项目,并收到此错误的Maven依赖的CXF
java.lang.NoClassDefFoundError: org/apache/cxf/logging/FaultListener
我想我需要包括maven的依赖性为above.I已经公布的代码片段从POM。下面是xml。
2.5.2
org.apache.cxf
cxf-rt-frontend-jaxws
${cxf.version}
org.apache.geronimo.specs
geronimo-javamail_1.4_spec
org.apache.geronimo.specs
geronimo-activation_1.1_spec
org.apache.cxf
cxf-rt-transports-http
${cxf.version}
org.apache.cxf
cxf-rt-frontend-jaxrs
${cxf.version}
org.apache.cxf
cxf-rt-rs-security-xml
${cxf.version}
org.apache.cxf
cxf-rt-ws-security
${cxf.version}
我对Maven不是很满意,可以有人帮助我。
2012-12-11
Anand