层级关系
——springboot-customer-starter (自定义starter)
————springboot-mystarter (启动器)
————springboot-mystarter-autoconfiguration(自动配置)
解决办法:
将springboot-mystarter-autoconfiguration中的
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
删除即可解决无法导入自定义starter中类问题