首页 > 解决方案 > 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配置中。

我该如何解决这个错误?

标签: spring-bootmavenpom.xml

解决方案


Maven 中央存储库中不再提供 1.8.6 版。请检查https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-bom

请检查依赖层次结构以检查此版本的来源。


推荐阅读