错误:
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [build]: would dispatch back to the current handler URL [/build] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)]
原因:
Controller层设置的注解有问题:
@RestController使用成了@Controller