如下图所示:必须添加上dao,否则加载不进来,会报

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.july.data.service.UserService.getUserInfo

springboot Invalid bound statement (not found)

 

如果路径不存在,会报:

Field userMapper in com.july.data.service.UserServiceImpl required a bean of type 'com.july.data.dao.UserMapper' that could not be found.

 

 

相关文章:

  • 2021-05-02
  • 2021-09-28
猜你喜欢
  • 2021-11-30
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-01-02
  • 2021-05-26
相关资源
相似解决方案