【发布时间】:2020-05-17 21:39:37
【问题描述】:
我刚刚从http://start.spring.io/下载了springboot项目。运行后出现此错误。
* What went wrong:
Plugin [id: 'org.springframework.boot', version: '2.2.4.RELEASE'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.springframework.boot:org.springframework.boot.gradle.plugin:2.2.4.RELEASE')
Searched in the following repositories:
Gradle Central Plugin Repository
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
任何人都可以建议根本原因是什么。
【问题讨论】:
-
检查您的互联网连接
-
这也是您搞砸
javax.net.ssl.trustStore设置时遇到的错误。我无意中将我的位置设置为无效位置并收到此错误。我想它无法再验证存储库的 https 证书。
标签: spring-boot gradle