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