我是靠谱客的博主 甜甜电灯胆,这篇文章主要介绍报错 Invalid bound statement (not found),现在分享给大家,希望可以做个参考。

可能是mapper包没有扫描到
添加以下依赖

<build>
        <resources>
            <resource>
                <directory>src/main/java</directory><!--所在的目录-->
                <includes><!--包括目录下的.properties,.xml文件都会扫描到-->
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
    </build>

运行成功 !
在这里插入图片描述

最后

以上就是甜甜电灯胆最近收集整理的关于报错 Invalid bound statement (not found)的全部内容,更多相关报错内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(142)

评论列表共有 0 条评论

立即
投稿
返回
顶部