项目启动过程中产生: cannot be opened because it does not exist错误[文件无法编译到target目录下的解决方法],采用以下方法进行解决:
在pom.xml中添加:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.*</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>