sprinboot出现错误:
RoleMapper.deleteRole attempted to return null from a method with a primitive return type (int).

这是一个非常低级的错误,粗心马大哈!具体错误看图:
RoleMapper.deleteRole attempted to return null from a method with a primitive return type (int).对于这种问题,绑定异常极大可能就是在mapper接口、以及mapper.xml中出错。经过我仔细的检查代码,发现了问题:
RoleMapper.deleteRole attempted to return null from a method with a primitive return type (int).
真的是无语!!!select写多了。

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-05-28
  • 2021-12-05
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
猜你喜欢
  • 2021-12-03
  • 2021-12-01
  • 2021-07-18
  • 2022-01-30
  • 2022-12-23
  • 2021-11-13
  • 2021-12-02
相关资源
相似解决方案