maven 集成 CXF
1 今天一直遇到找不到类的错误,可能是POM文件的配置有问题,后面重新在网上找了配置才可以
POM配置
<?xml version="1.0" encoding="UTF-8"?>4.0.0 com.cxf CXFServer 1.0 war CXFServer Maven Webapp http://www.example.com 4.11 2.2.3 3.2.3.RELEASE 1.7.7 junit junit ${junit.version} org.apache.cxf cxf-rt-frontend-jaxws ${cxf.version} org.apache.cxf cxf-rt-transports-http ${cxf.version} org.apache.cxf cxf-rt-transports-http-jetty ${cxf.version} org.springframework spring-context ${spring.version} org.springframework spring-web ${spring.version} org.apache.maven.plugins maven-compiler-plugin 1.7 UTF-8 org.apache.maven.plugins maven-surefire-plugin true