[英]Unable to find valid certification path to requested target- maven build exception while generating classes from wsdl using jaxb plugin
我有一个第 3 方 wsdl 和我正在尝试从中生成类。 一直在遵循指南https://spring.io/guides/gs/sumption-web-service/ 。 但是在运行 maven 构建时,我遇到了以下异常:
SAXParseException2: IOException thrown while processing "....wsdl"
SSLHandshakeException: ValidatorException: PKIX path building failed: Unable to find valid certification path to requested target.
我试过在 SO 上搜索,但找不到任何解决方案。 该证书已经存在于 cacerts 中,因为我只是想将使用 Xstream 的现有代码重构为 Jaxb。 SOAP 的新手,因此无法弄清楚需要做什么。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.