spring项目运行成功,但是前端登录的时候,直接报错。

org.springframework.web.client.ResourceAccessException: I/O error on POST request for “http://..“

本次报这个错误的原因:

Mybatis的 Mapper.xml 里,自定义的sql查询写的有问题,本应该用resultType的,用成了resultMap,但这个 mapper.xml 在编译时又检查不出这样的错误。

 

相关文章:

  • 2021-11-06
  • 2022-12-23
  • 2021-07-30
  • 2021-08-23
  • 2022-01-13
  • 2022-03-06
  • 2021-10-05
猜你喜欢
  • 2021-08-23
  • 2021-07-09
  • 2021-06-01
  • 2022-12-23
  • 2021-06-27
  • 2021-06-29
  • 2021-05-30
相关资源
相似解决方案