gpt4 book ai didi

java - wsimport - 未定义模式描述符

转载 作者:行者123 更新时间:2023-12-01 05:19:01 28 4
gpt4 key购买 nike

我正在使用 wsimport 从服务器导入 wsdl 文件。这是我正在使用的命令:

X:>wsimport -keep -verbose http://xxxxxxxxxx

parsing WSDL...


[ERROR] Schema descriptor {http://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX in message part "in" is not defined and could not be bound to Java. Perhaps the schema descriptor is not defined in the schema imported/included in the WSDL. You can either a
dd such imports/includes or run wsimport and provide the schema location using -
b switch.

如何导入 wsdl 文件?

最佳答案

指定了确切的 JDK 版本

%AS_HOME%/bin/wsimport -keep -d ./build -p com.sample.hello http://localhost:8080/HelloSvr/HelloService?wsdl

关于java - wsimport - 未定义模式描述符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10721365/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com