情况: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即可