The spring boot project in IntelliJ idea can be started by running with the main method, but an error is always reported when starting with MVN spring boot: run
Class: org/Apache/Maven/shared/artifact/filter/collection/artifactsfilter
It turned out that the corresponding plug-in was not found in the warehouse. You can solve it by specifying a found version number
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>1.5.2.RELEASE</version> </plugin> </plugins> </build>