IntelliJ中的SpringBoot。无法找到到所请求目标的有效认证路径

问题描述 投票:0回答:1

IntelliJ社区版,Java8,Spring Boot 2.1.11

[尝试进行基本的链接课程(Chris Anatalio的Spring Boot2构建Reactive应用程序)] >>

我无法运行该应用程序。它使用嵌入式Mongo DB。

failed
:ReactivespringApplication.main()
org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.flapdoodle.embed.mongo.MongodExecutable]: Factory method 'embeddedMongoServer' threw exception; nested exception is de.flapdoodle.embed.process.exceptions.DistributionException: prepare executable
de.flapdoodle.embed.process.exceptions.DistributionException: prepare executable
java.io.IOException: Could not open inputStream for https://downloads.mongodb.org/win32/mongodb-win32-x86_64-3.5.5.zip
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

IntelliJ Community Edition,Java8,Spring Boot 2.1.11尝试做一个基本的链接在过程中(Chris Anatalio用Spring Boot2构建Reactive应用程序)我无法运行该应用程序。它使用一个...

spring mongodb spring-boot intellij-idea client-certificates
1个回答
0
投票

在相同情况下,根本原因是您位于需要ssl证书进行通信/下载的代理服务器后面。

© www.soinside.com 2019 - 2024. All rights reserved.