Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [create]: would dispatch back to the current handler URL [/pay/create] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)] with root cause
Circular view path [create]: would dispatch back to the current handler URL [/pay/create] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
Springboot内容的更新:在版本2.2.0以后,对于.ftl文件的解析改为了.ftlh,所以只需要更改文件名即可