Field userMapper in com.jm.controller.LoginController required a bean of type 'dao.UserMapper' that



Field userMapper in com.jm.controller.LoginController required a bean of type 'dao.UserMapper' that could not be found.

//增加持久层    application 里面注册路径错误



@MapperScan("dao")

你可能感兴趣的:(Field userMapper in com.jm.controller.LoginController required a bean of type 'dao.UserMapper' that)