spring-boot-starter-parent 升级到2.3.0.RELEASE pom.xml报Unknown

是由于springboot从2.1.5.RELEASE开始将maven jar的版本升级到3.1.2 ,使得有些IDE工具插件不兼容的3.1.2从而造成改问题出现

在pom.xml文件中添加:

<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>

将maven jar的插件降成3.1.1解决

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
It seems that you are encountering an error related to the Spring Boot starter parent dependency with version 2.3.0.RELEASE. This error usually occurs when the specified dependency cannot be found in the repository or when there is an issue with the dependency declaration. To resolve this issue, you can try a few troubleshooting steps: 1. Verify the dependency declaration: Double-check the spelling and syntax of the dependency declaration in your project's build file (e.g., pom.xml for Maven or build.gradle for Gradle). Ensure that the version number is correct and matches the available versions in the repository. 2. Clear local repository cache: Sometimes, the issue can be caused by a corrupted local repository cache. You can try deleting the contents of your local repository cache and re-downloading the dependencies. The location of the local repository varies depending on your build tool (e.g., ~/.m2/repository for Maven). 3. Check network connectivity: Ensure that your network connection is stable and capable of accessing the remote repository. Try pinging the repository URL or accessing it via a web browser to ensure that it is accessible. 4. Use a different version: If the specific version (2.3.0.RELEASE) is not available or causing issues, you can try using a different version of the Spring Boot starter parent dependency. Check the official Spring Boot documentation or repository for the available versions and select a suitable one. If none of these steps resolve the issue, please provide more details about your project setup, build tool, and any relevant error messages, so that I can assist you better.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值