Mybatis-记录一个查询时出现的问题,类缺少无参构造器

问题:

[dj]2019-02-27 10:45:01.202 [http-nio-10.60.1.251-9081-exec-1] WARN  o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved exception caused by Handler execution: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.cf.dj.web.vo.InteractVO matching [java.lang.Long, java.lang.Long, java.lang.Long, java.lang.Long, java.lang.Long, java.lang.Long, java.lang.String, java.lang.String]

意思就是说类没有构造器,但是我有有参构造器,所以判断应该是需要无参构造器,加上就好了

你可能感兴趣的:(Mybatis系列)