org.mybatis.spring.MyBatisSystemException: 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 [org.apache.ibatis.reflection.ReflectionException: Error parsing property name 'lambda$8'. Didn't start with 'is', 'get' or 'set'.]
在eclipse中使用Mybatis-plus的lambda表达式查询方式,同样的代码,Idea下正常,eclipse报错。
坑了我一上午。
解决方法: 将eclipse换成最新版本...... 升级到以下版本号后正常!
Eclipse IDE for Enterprise Java Developers.
Version: 2019-12 (4.14.0)
Build id: 20191212-1212