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

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

本次报这个错误的原因:

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

 

你可能感兴趣的:(Spring)