创建:idea启动服务时,报“xxxx程序包不存在”,但是查看文件确实是存在的
解决方案三种:
- 1、cleam compile —>Reimport
- 2、idea缓存清楚
- 3、 pom文件----添加exec
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!--<classifier>exec</classifier>-->
</configuration>