使用springBoot和mybatis整合时出现如下错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (n

Posted lijun6

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用springBoot和mybatis整合时出现如下错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (n相关的知识,希望对你有一定的参考价值。

在pom.xml文件中添加如下:

<build>
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.*</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

以上是关于使用springBoot和mybatis整合时出现如下错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (n的主要内容,如果未能解决你的问题,请参考以下文章

mybatis3.0和spring3.0整合时出现异常

使用mycat时出现Sharding column can't be updated错误

spring整合mybatis多数据源下部分配置(下划线转驼峰)失效问题

SpringBoot整合Mybatis方式2:使用注解方式整合Mybatis

SpringBoot 整合其他框架 -- SpringBoot整合Mybatis

SpringBoot系列Mybatis整合