错误;
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not resolve view with name 'xxxxx in servlet with name ‘dispatcherServlet’] with root cause;request url:, print method parameters:N/A, return:
解决方案
将@Controller 改成 @RestController