Loading

Mybatis

mybatis通过反射来获取mapper,反射通常需要无参构造方法和getset方法,而我当时new student的时候想偷懒,就写了个有参构造方法。结果就没了无参构造方法,就会报错。

image

posted @ 2022-01-17 22:24  Cn_FallTime  阅读(21)  评论(0编辑  收藏  举报