Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [index]: would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup!

would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation

我升级SpringBoot到3.2之后报以上错误,因为我用的是freemark模板,所以freemark模板的文件后缀.ftl改成.ftlh就OK

你可能感兴趣的:(servlet,数据库)