Plugin ‘org.springframework.boot:spring-boot-maven-plugin: not found‘
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.4.1</version>
这里的版本号是你项目的版本号,如下:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
还有个原因你是在<build></build>
中修改了spring-boot-maven-plugin
版本,才出现的那个问题,如果没有,不加版本号一般是正常的,不爆红。