我在写MyOA-Point9项目时,对service层测试报出了这个异常,遂百度查了一些 解决方法 。
在maven项目的pom.xml中build标签下插入:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
手工将src下所有xml文件引入编译;