java教程 教程 ·

This may be the result of an unspecified view, due to default view name generation

在idea中调试时一个项目在代码执行完后碰到了如下图所示的错误。

This may be the result of an unspecified view, due to default view name generation java教程 第1张

最后在视图解析 controller上面加上@ResponseBody即可解决。

This may be the result of an unspecified view, due to default view name generation java教程 第2张

参与评论