我试图将应用程序spring boot版本升级到2.4.9.RELEASE,但当我编译应用程序代码时,显示如下错误:
> Configure project :dolphin-acientbay
/home/runner/work/retire/retire
> Configure project :dolphin-post
/home/runner/work/retire/retire
> Configure project :dolphin-template
/home/runner/work/retire/retire
> Task :dolphin-common:generateLombokConfig
FAILURE: Build failed with an exception.
> Task :dolphin-common:compileJava FAILED
* What went wrong:
Execution failed for task ':dolphin-common:compileJava'.
> Could not resolve all files for configuration ':dolphin-common:compileClasspath'.
2 actionable tasks: 2 executed
> Could not find org.springframework.boot:spring-boot-starter-parent:2.4.9.RELEASE.
Required by:
project :dolphin-common
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 47s
Error: Process completed with exit code 1.
我发现repo包含了jar文件:https://repo 1 . maven . org/maven 2/org/spring framework/boot/spring-boot-starter-parent/2 . 4 . 9/。我应该如何解决这个问题?
将 Spring Boot Gradle 插件调整为:
id "org.springframework.boot" version "2.4.9"
并去掉版本号的< code>RELEASE,只保留编号版本。
我正在遵循以下指南:https://spring.io/guides/gs/service-web-content/, 但我在POM上遇到了这个问题: 但在这里是https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent/2.4.0
我尝试用azure在springboot中创建一个项目,然后生成POM。我有一个错误: 项目生成错误:org.springframework的父POM不可解析。boot:spring-boot-starter-parent:[unknow-version]:无法传输org.springframework。boot:spring-boot-dependencies:POM:2.1.0。来自https
当我尝试在Eclipse上运行任何Maven命令时,会出现一个错误。 错误消息: pom.xml文件: Maven版本:
pom.xml 与Spring Boot starter父级相关的最新升级版本
本文向大家介绍解析spring-boot-starter-parent简介,包括了解析spring-boot-starter-parent简介的使用技巧和注意事项,需要的朋友参考一下 本指南将帮助您了解Spring Boot Starter Parent如何帮助管理依赖项版本,所有Spring Boot项目通常使用spring-boot-starter-parent作为pom.xml中的父项: P