首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到org.springframework.boot:spring-boot-starter-parent:2.4.9.RELEASE

找不到org.springframework.boot:spring-boot-starter-parent:2.4.9.RELEASE
EN

Stack Overflow用户
提问于 2021-11-21 10:02:29
回答 1查看 49关注 0票数 0

我尝试将app spring boot版本升级到2.4.9.RELEASE,但当我编译app代码时,显示如下错误:

代码语言:javascript
复制
> 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.

我发现存储库包含jar文件:https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.4.9/。我应该怎么做才能解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2021-11-21 10:19:43

调整spring boot gradle插件以:

代码语言:javascript
复制
id "org.springframework.boot" version "2.4.9"

去掉版本号的RELEASE,只保留版本号。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70053506

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档