baomidou / mybatis-plus

An powerful enhanced toolkit of MyBatis for simplify development
https://baomidou.com
Apache License 2.0
16.3k stars 4.3k forks source link

只添加maven依赖,无jar包冲突,导致Invalid bound statement (not found) #654

Closed bushadie closed 5 years ago

bushadie commented 5 years ago

当前使用版本(必须填写清楚,否则不予处理)

3.0.6 版本, 只在pom中添加依赖,不改动其他代码会导致 Invalid bound statement (not found) 没有jar包冲突

以下为pom dependencies

org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-starter-aop org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-devtools true mysql mysql-connector-java org.mybatis.spring.boot mybatis-spring-boot-starter ${mybatis.spring.boot.starter.version} com.github.pagehelper pagehelper-spring-boot-starter ${pagehelper.spring.boot.starter.version} com.alibaba druid-spring-boot-starter ${druid.version} org.apache.commons commons-lang3 commons-io commons-io ${commons.io.version} commons-fileupload commons-fileupload ${commons.fileupload.version} org.apache.shiro shiro-core ${shiro.version} org.apache.shiro shiro-spring ${shiro.version} org.apache.shiro shiro-ehcache ${shiro.version} com.github.theborakompanioni thymeleaf-extras-shiro ${thymeleaf.extras.shiro.version} com.alibaba fastjson ${fastjson.version} eu.bitwalker UserAgentUtils ${bitwalker.version} org.springframework spring-context-support org.quartz-scheduler quartz com.mchange c3p0 org.apache.velocity velocity ${velocity.version} com.github.penggle kaptcha ${kaptcha.version} javax.servlet-api javax.servlet io.springfox springfox-swagger2 ${swagger.version} io.springfox springfox-swagger-ui ${swagger.version} org.jsoup jsoup ${jsoup.version} org.apache.poi poi-ooxml ${poi.version} com.baomidou mybatis-plus-boot-starter 3.0.6
miemieYaho commented 5 years ago

示例代码