您好,欢迎来到吉趣旅游网。
搜索
您的当前位置:首页SpringBoot报错Circular view path [success]: would dispatch back to the current handler URL [/bat/succe

SpringBoot报错Circular view path [success]: would dispatch back to the current handler URL [/bat/succe

来源:吉趣旅游网

javax.servlet.ServletException: Circular view path [success]: would dispatch back to the current handler URL [/bat/success] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

只需要把Controller的注解改成@RestController运行后即可。

@RestController是@Controller和@ResponseBody的结合。(Ctrl进入@RestController就可以看到)

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- jqkq.cn 版权所有 赣ICP备2024042794号-4

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务