0
点赞
收藏
分享

微信扫一扫

关于Invalid bound statement (not found)

回溯 2022-02-07 阅读 41

过完年回来重新跑项目各种Invalid bound statement (not found)。参考Invalid bound statement (not found)解决方法 给出的解决方法很详细,检查完发现属于配置文件没有导出 ,我这里的mapper.xml都是写在resources下,在该工程的pom.xml中添加:

	<build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>*.properties</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
    </build>

然后记得一定一定要Reimport一下这个pom.xml再启动项目。

举报

相关推荐

0 条评论