目录

Mybaties报错 nested exception is org.apache.ibatis.executor

目录

报错

1
nested exception is org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column ‘user_name’ from result set. Cause: java.lang.NumberFormatException: For input string: “shenzhenhytzb”

原因:使用lambok时使用了@Builder注解导致没有无参构造器,添加注解@NoArgsConstructor @AllArgsConstructor