1,请求报错
"Error resolving template [department/upload], template might not exist or might not be accessible by any of the configured Template Resolvers
错误可能:
类上面是@Controller,方法上面没有@ResponseBody
解决:类上面用@RestController或者,方法上添加@ResponseBody
微信扫一扫
1,请求报错
"Error resolving template [department/upload], template might not exist or might not be accessible by any of the configured Template Resolvers
错误可能:
类上面是@Controller,方法上面没有@ResponseBody
解决:类上面用@RestController或者,方法上添加@ResponseBody
相关推荐