spring boot + mybatis plus(3.1.1)
单元测试通过,项目启动测试报错
报错信息:
nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfWhere'. Cause: org.apache.ibatis.ognl.OgnlException: sqlSegment [com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Your property named "caseId" cannot find the corresponding database column name!]
解决方案:
去除 spring-boot-devtools
参考:
https://gitee.com/baomidou/mybatis-plus/issues/IX4RY