无法从 WSDL url wsimport

问题描述

在 pom.xml 文件中使用此插件。无法生成所需的类。

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>jaxws-maven-plugin</artifactId>
    <version>2.6</version>
    <executions>
        <execution>
            <goals>
                <goal>wsimport</goal>
            </goals>
        </execution>
    </executions> 
    <configuration>
        <wsdlUrls>
            <wsdlUrl>https://xml-uat.bookingengine.es/WebService/JP/WebServiceJP.asmx?WSDL</wsdlUrl>
        </wsdlUrls>
        <modules>
            <webModule>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <excluded>true</excluded>
            </webModule>
        </modules>
    </configuration>
</plugin>

我收到“调用 com.sun.tools.ws.wscompile.WsimportTool 失败 - 检查输出错误和 org.apache.maven.plugin.MojoExecutionException。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)