错误信息:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Jul 06 18:30:42 CST 2019
There was an unexpected error (type=Internal Server Error, status=500).
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
解决办法:
不要使用系统默认的JDK,要使用已经安装了证书的JDK。
默认的JDK如下图所示:
安装了证书的JDK如下图所示: