在做springboot项目时,在IDEA中导入已有的项目但是pom.xml报错:Plugin ‘org.springframework.boot:spring-boot-maven-plugin:’ not found
原因一:没有加入版本号,在手动加入版本号后,在刷新即可,注意需要加入合适的版本号,可以尝试建立
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.2.RELEASE</version>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>