Today, with the idea to compile java project when mybatis, has been an error, you can not find config.xml (Mybatis profile)
Asked a question of the Mother (Baidu oriented programming, Funny)
If the user is idea
Click resouce folder, right, markas select resouce
Another method
In pom.xml, the xml file to be compiled, successfully resolved the problem.
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>