控制台显示的异常
javax.servlet.ServletException: Circular view path [test]
:would dispatch back to the current handler URL [/test] again.
Check your ViewResolver setup!
(Hint: This may be the result of an unspecified view,
due to default view name generation
解决办法
将controller类上的@Controller注解改为@RestController