不可解析的导入POM春季启动依赖项2.3.3版本

问题描述

我将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的webConfiguration中。

如何解决错误

解决方法

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

请检查依赖关系层次结构,以检查该版本的来源。