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>
Similar Posts:
- [Solved] Spring Boot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
- How to Solve Error: spring-boot-maven-plugin not found
- [Solved] Plugin ‘org.springframework.boot:spring-boot-maven-plugin:’not found
- [Solved] SpringBoot Package Error: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-res
- SpringBoot Project Package Error: [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin (Running Normally)
- Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.5. RELEASE:repackage (repackage) on project tristone-boot-module-system: zip file is empty
- Unregistering JMX-exposed beans on shutdown Solution
- Springboot always reports an error when importing JSP dependencies
- Eureka server project startup error handling
- Unable to find a single main class from the following candidates [xxx,xxx]