在写项目的时候突然出现了The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.的报错,网页突然就打不开了,然后上网搜了搜,按照https://blog.csdn.net/dbc_121/article/details/79204340这个博客给的提示尝试之后都没能解决错误。
于是把新写的东西注释掉,又可以跑了。仔细看了看发现是mapper.xml文件中把resultMap写成了resultType…每次只要映射有问题网页就打不开。