Could not resolve view with name 'admin/user/addUser' in servlet with name 'edusys'

SpringMVC+freemarker项目写着写着,报错:Could not resolve view with name 'admin/user/addUser' in servlet with name 'edusys'
应该不是配置文件的问题,毕竟已经写了这么久的项目,不可能现在才出现。
后来发现很简单,是忘记写了@ResponseBody,修改如下:


Could not resolve view with name 'admin/user/addUser' in servlet with name 'edusys'_第1张图片
@ResponseBody

你可能感兴趣的:(Could not resolve view with name 'admin/user/addUser' in servlet with name 'edusys')