现在的情况是只能返回一个json.
报错信息如下:
javax.servlet.ServletException: Circular view path [/WEB-INF/jsp/welcome.jsp]: would dispatch back to the current handler URL [/WEB-INF/jsp/welcome.jsp] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
配置文件:
虽然没试过,我觉得jsp文件应该放在resources下面