gradle not find the java directory of mybatis xml file

Because the idea to compile only java, gradle also only default compiler java, xml so neglected.

idea does not currently know how to modify, when gradle changes need to add xml file, but only gradle gradle modify the work, it does not work on the idea.

 

processResources {
from('src/main/java') {
include '**/*.xml'
}
}

Guess you like

Origin www.cnblogs.com/lakeslove/p/10971174.html