ERROR 16832 --- [nio-9000-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]

2020-03-27 22:33:04.339 ERROR 16832 — [nio-9000-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [login]: would dispatch back to the current handler URL [/view/login] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)] with root cause

Here Insert Picture Description
Is based on a simple maven, springboot make a jump to the login page, make mistakes.

Finally found the reason, recorded

Solution:
The springboot and thymeleaf (template) versions can be modified to be consistent.

Published 114 original articles · won praise 16 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_44026997/article/details/105139189