Dependencies that need to be added to the pom file in idea


<!-- If this node is not added, the mapper.xml file of mybatis will be missed. -->
<!-- In IDEA's maven project, the xml and other resource files in the default source code directory will not be packaged into the classes folder when compiling, but will be discarded directly. -->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325116748&siteId=291194637