spring-boot - Non Resolvable import POM Spring-boot dependencies 2.3.3 Release
问题描述
我已将我的 spring-boot-starter-parent 升级到最新版本(2.3.3 版本),从那时起我无法构建我的应用程序。我有一个错误
Non-resolvable import POM: Failure to find org.codehaus.groovy:groovy-bom:pom:1.8.6 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced @ org.springframework.boot:spring-boot-dependencies:2.3.3.RELEASE, /home/user/.m2/repository/org/springframework/boot/spring-boot-dependencies/2.3.3.RELEASE/spring-boot-dependencies-2.3.3.RELEASE.pom, line 2918, column 19 -> [Help 2]
我已经尝试删除整个存储库文件夹并从启动器构建应用程序,但它没有帮助。
我需要升级 spring-boot 才能使用 http.oauth2ResourceServer().jwt().authenticationManager(authenticationManager()); 在我的APP的web配置中。
我该如何解决这个错误?
解决方案
Maven 中央存储库中不再提供 1.8.6 版。请检查https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-bom
请检查依赖层次结构以检查此版本的来源。
推荐阅读
- java - 为什么我现在应该使用 private ?
- matlab - 如何修复MATLAB求解符号变量的错误
- msbuild - MSBuild /p:BuildProjectReferences=false 导致致命错误 C1192:#using failed
- android - Android开发数据库过度使用解决方案
- azure-maps - Azure Maps - 如何使用绘图管理器为拉伸层绘制形状?
- javascript - 如何将 Javascript Promise 的结果写入函数外部的对象中?
- azure - 在中断关闭的对话中间调用未知意图 - Azure bot composer
- python - 应用在行子集上对 Pandas 数据帧进行操作的函数
- visual-studio-code - mypy 守护进程 (dmypy) 和 VSCode “配置已更改”错误
- javascript - 发送机器人名称而不是用户不和谐