Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin 报错
1、检查maven镜像,使用阿里云的;
http://maven.aliyun.com/nexus/content/groups/public/
如果你的maven能下载其他依赖,下载不了这个,说明不是镜像问题;
2、给插件加上版本号;
比如
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.5.6</version> <configuration> <mainClass>doBusiness.Frame001</mainClass> <fork>true</fork> </configuration> <executions> <execution> <goals> <goal>repackage</goal> <goal>build-info</goal> </goals> </execution> </executions> </plugin>>