一、错误描述: 使用springboot时报错误: 找不到或无法加载主类 com.xkd.wjm.springbootintroduction.SpringbootIntr 二、解决: 1、查看编译后的target: 发现没有application.perpeties编译进去 2、分析发现,之前配置的资源路径没有包含resources目录 3、添加resources目录为资源目录: 4、重新装载项目问题解决