java包中的资源无法加载到target中解决办法: 在pom.xml文件的中配置如下 <!--在build中配置properties中防止资源导出失败--> <resources> <resource> <directory>src/main/java</directory> <includes