美文网首页编程笔记
Circular view path [addKnowledge

Circular view path [addKnowledge

作者: 光剑书架上的书 | 来源:发表于2018-05-17 21:56 被阅读359次

    报错日志:

    {"timestamp":1526565246776,"status":500,"error":"Internal Server Error","exception":"javax.servlet.ServletException","message":"Circular view path [addKnowledge]: would dispatch back to the current handler URL [/addKnowledge] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)","path":"/addKnowledge"}
    

    解决方案:
    添加@ResponseBody 注解:

    @PostMapping("/addKnowledge")
    @ResponseBody

    相关文章

      网友评论

        本文标题:Circular view path [addKnowledge

        本文链接:https://www.haomeiwen.com/subject/jbgidftx.html