您的位置:首页 > 其它

解决maven项目不会预读xml文件,Invalid bound statement (not found): com.starry.dao.IUserDao.selAll

2017-09-20 11:21 1056 查看

Invalid bound statement (not found): com.starry.dao.IUserDao.selAll

dao层中xml文件不会被预读

在pom.xml文件中加入

在<build>标签中插入下面的代码:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>


然后这个错误就会解决
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Invalid bound statem
相关文章推荐