我得到以下異常,同時擊中在Maven構建wsconsume:調用失敗
Some problems were encountered while building the effective model for MyProject:jar:1.0-SNAPSHOT 'build.plugins.plugin.version' for org.codehaus.mojo:jaxws-maven-plugin is missing. @ line 40, column 14
Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.4.1:wsimport (MyAPI) on project MyProject:Invocation of com.sun.tools.ws.wscompile.WsimportTool failed
相關POM:
<execution>
<id>MyAPI</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<bindingDirectory>${basedir}/src/main/resources</bindingDirectory>
<sourceDestDir>${basedir}/src/main/java</sourceDestDir>
<bindingFiles>
<bindingFile>myprod.jaxb</bindingFile>
</bindingFiles>
<xadditionalHeaders>true</xadditionalHeaders>
<verbose>true</verbose>
<args>
<arg>-Xnocompile</arg>
</args>
<wsdlUrls>
<wsdlUrl>http://my.us:61168/MyProxy.svc?wsdl</wsdlUrl>
</wsdlUrls>
</configuration>
</execution>
它前面工作但突然停止工作。從我的結尾沒有任何更改。
的Java 1.7
的Netbeans 8.1
你解決了這個問題嗎? –