If a project as a dependency springboot use, should satisfy the following two conditions:
1. items not included in the project start classes (xxxApplication class contains the main method)
2.pom.xml remove this plug-in:
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
Re-clean install dependence