当使用构建脚本编译jax-ws类时,引发了编译错误抱怨'找不到符号'即使我在类路径中包含了正确的jar(jaxws-api.jar),我打印出类路径条目以确保所有依赖类都在那里。还有什么想法?
[javac] symbol : constructor Service(java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[])
[javac] location: class javax.xml.ws.Service
[javac] super(wsdlLocation, serviceName, features);
[javac] ^
[javac] 3 errors