Mybatis-Plus 报错Error parsing property name 'lambda$14'. Didn't start with 'is', 'get' or 'set'.

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

发布了16 篇原创文章 · 获赞 26 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/u011177064/article/details/103916367