【SpringBoot】org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

2021-06-05 06:05

阅读:682

标签:color   编译   code   app   pom   rgb   include   bin   boot   

多模块,在使用mybatis-plus时,找不到其他模块的xml 报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 错误

发现target下mapper包中的xml文件夹没有被编译,在父工程里的pom文件中标签添加如下内容

resources>
            resource>
                directory>src/main/javadirectory>
                includes>
                    include>**/*.ymlinclude>
                    include>**/*.propertiesinclude>
                    include>**/*.xmlinclude>
                includes>
            resource>
            resource>
                directory>src/main/resourcesdirectory>
                includes>
                    include>**/*.ymlinclude>
                    include>**/*.propertiesinclude>
                    include>**/*.xmlinclude>
                includes>
            resource>
        resources>

 

【SpringBoot】org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

标签:color   编译   code   app   pom   rgb   include   bin   boot   

原文地址:https://www.cnblogs.com/aioe/p/14632803.html

上一篇:冒泡排序实现

下一篇:java 接口


评论


亲,登录后才可以留言!