标签:没有 idea ast 标签 maven stat UNC 模块 tis
原文 https://www.jianshu.com/p/a9516bcd3cb0
如果我们的mapper.xml文件没有放置到src-main-resources下面,是不会被maven build plugin给默认扫描到的。此时需要修改启动的模块的pom文件,在build标签里面加入:
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
idea 中使用mybastis报出 Invalid bound statement (not found)
标签:没有 idea ast 标签 maven stat UNC 模块 tis
原文地址:https://www.cnblogs.com/heavensward/p/11783097.html