When I write MyOA-Point9 project, reported on the service layer test this anomaly, then Baidu search some solutions.
Insert the next build label pom.xml maven project:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
All xml file manually compile the src introduced;