我用 apache-cxf-2.7.4 创建了一个 Web 服务。我进入了我的项目中产生的课程。我在项目中拥有的库是:
- math3-commons-3.2.jar
- XStream-1.4.4.jar
- jaxws-api-2.2.5.jar
我有以下错误:
constructor Service in class javax.xml.ws.Service cannot be applied to given types;
required: java.net.URL,javax.xml.namespace.QName
found: java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[]
reason: actual and formal argument lists differ in length