异常总结(4):Could not find artifact org.springframework.boot:spring-boot-maven-plugin: 2.4.0.RELEASE

情况:springboot 导入maven plugin依赖时出现找不到对应版本包的异常

原因:去远程仓库中查询spring boot maven plugin 的版本情况,查询链接:https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin

   查询结果如下:

   

 

   可以看见,并没有2.4.0.RELEASE 版本,而是2.4.0 版本,因此找不到对应版本

解决办法:将依赖版本改为2.4.0即可

     

 

posted @ 2021-08-23 10:23  realDevin  阅读(4635)  评论(0编辑  收藏  举报