最近跟着B站的黑马视频学mybatis 不知道是版本原因还是什么 首先和我现在学校里的代码编写方式有出入 其次我学习视频时候敲的代码 明明一模一样 却报很多错,本着不会先百度的思想,可还是无法解决问题。到这儿来麻烦各位大哥看看。
先贴Error ### Error querying database. Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'usernmae' of 'class com.itheima.domain.User' with value '老王' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'usernmae' in 'class com.itheima.domain.User'
小老弟实在是无能为力了
...全文
776打赏收藏
mybatis报错
最近跟着B站的黑马视频学mybatis 不知道是版本原因还是什么 首先和我现在学校里的代码编写方式有出入 其次我学习视频时候敲的代码 明明一模一样 却报很多错,本着不会先百度的思想,可还是无法解决问题。到这儿来麻烦各位大哥看看。 先贴Error ### Error querying database. Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'usernmae' of 'cla