我下载了jhipster
注册表版本4.0.0,成功导入并运行了注册表,当我打开localhost:8761
时,我收到请求无法继续执行错误,也没有错误信息。
当我使用命令mvnw时,我在线程“ main” 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.
中遇到了异常
答案 0 :(得分:1)
一种方法是使用http协议而不是https。
要执行此操作,请进入您的项目directory > .mvn > wrapper > maven-wrapper.properties
。
您会发现类似distributionUrl=http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip
的内容。
将此网址更改为使用http而不是https。
其他解决方案较为复杂,但尝试时没有任何危害。
Problems connecting via HTTPS/SSL through own Java client
Calling web service: javax.net.ssl.SSLException: Received fatal alert: protocol_version
javax.net.ssl.SSLException: Received fatal alert: protocol_version
答案 1 :(得分:0)
只需将“ -Dhttps.protocols = TLSv1.2”作为额外参数传递