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下需要一个无参的构造函数
© 著作权归作者所有
举报
相关热门文章
发表评论
0/200