问题描述
- 关于JSOUP通过URL解析HTML问题
- Document dom = Jsoup.connect(
https://peoplefinder.glb.itcs.hpecorp.net/PeopleFinder/PeopleFinder.aspx?pf_hp=1&pf_detectsearch=1&pf_searchoption=0&pf_searchtype=2&x=0&y=0&pf_searchval=""
+ name )
.get();执行这句的时候会报错:
Invoke Windows Program Error.:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target求解答
解决方案
Jsoup处理Url与解析Html
jsoup解析html
Jsoup 解析 HTML
时间: 2025-01-21 11:03:14