zhangxd1989 / spring-boot-cloud

基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
2.12k stars 1.17k forks source link

使用Eclipse 运行项目不报错,登录报错! #27

Open coslim opened 5 years ago

coslim commented 5 years ago

ERROR o.j.m.system.controller.SysPermissionController:144 - 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$2'. 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$2'. Didn't start with 'is', 'get' or 'set'.] at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) at com.sun.proxy.$Proxy134.selectList(Unknown Source)

应该是lombok注解的问题 Didn't start with 'is', 'get' or 'set'.

使用 myeclispe 运行项目正常