ajax successful requests to the back (into the break), but the browser console reported 404 errors!

Controller sends a request to go into the break and the last step, the intermediate is also not being given. However, the result was not successful response, the browser console reported 404.

 Reason: forget to add @ ResponseBody, spring can not find the corresponding view of the return value mapping, so return 404.

 

Guess you like

Origin www.cnblogs.com/yuehaikuo/p/11993486.html