Mac环境解决pom.xml中Plugin ‘org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE‘ not found问题
·
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
这两句报红
1、在idea中找到本地的maven仓库:

2、打开终端,用open命令在访达中进入本地仓库
3、依次进入org->springframework->boot->spring-boot-starter

这个2.3.12就是plugin的版本号
4、然后回到pom.xml文件,加上这么一个版本号的描述:

就不报红了
更多推荐
所有评论(0)