“message”: “Error resolving template [findByPage], template might not exist or might not be accessible by any of the configured Template Resolvers”。
解决方法:在Controller层,如果要返回json数据,一定要在接口上添加@ResponseBody.
@RequestMapping("/findByPage")
@ResponseBody
public UserPage findByPage(@RequestBody Paging pagee){}