Field userMapper in com.example.playspring.service.UserService required a bean of type 'com.example.

一、報錯信息 Field sysUserMapper in com.example.playspring.service.sysUserService required a bean of type 'com.example.playspring.mapper.sysUserMapper' that could not be found. 二、解決辦法: 在主函數類上添加以上註解,可以掃描dao包
相關文章
相關標籤/搜索