首页 > 其他 > 详细

mybatis错误Invalid bound statement (not found) 的解决办法

时间:2016-03-01 21:03:21      阅读:184      评论:0      收藏:0      [点我收藏+]
<!--
    IDEA需要添加一下内容,否则无法找到mapper
-->
    <build>
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/web/dal/*/mapper/*Mapper.xml</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

如果在mybatis的xml配置无误情况下,还出现Invalid bound statement (not found) ,那么就在当前模块的pom.xml中添加此段代码。

mybatis错误Invalid bound statement (not found) 的解决办法

原文:http://www.cnblogs.com/koal/p/5232388.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!