Error instantiating class cn.edu.zju.springmvc.pojo.Items with invalid types () or values (). 报错解决方法

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.edu.zju.springmvc.pojo.Items with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.edu.zju.springmvc.pojo.Items.()

instantiating
()

pojo中的Items类下没有如下方法 ()
就说说items下需要一个无参的构造函数

posted @ 2019-03-04 14:11  RichardHaha  阅读(308)  评论(0编辑  收藏  举报