关于报错Caused by: java.lang.NoSuchMethodException: com.zuo.dao.StudentMapper.<init>()的解决方法

源代码

报错

解决方法

注意在ResultMap(结果集映射)中,给type起的别名

这里应该是实体类的全限定名为不是Mapper的!!!

 

posted on 2023-01-06 19:36  人无远虑必有近忧  阅读(22)  评论(0编辑  收藏  举报

导航