微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决不可解析的导入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

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。