问题描述
我正在编写教程 https://spring.io/guides/gs/consuming-web-service/#initial 中的“使用 SOAP 网络服务”。我在发送消息时遇到了这个问题:
[com.sun.istack.SAXException2: unable to marshal type "wsdl.Request" as an element because it is missing an @XmlRootElement annotation]
我使用了 gradle 和 https://spring.io/guides/gs/consuming-web-service/#initial
中描述的相同设置解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)