springboot跳轉頁面報錯
his application has no explicit mapping for /error, so you are seeing this as a fallback.
Wed Nov 15 16:22:13 CST 2017 There was an unexpected error (type=Internal Server Error, status=500). Circular view path [hello.html]: would dispatch back to the current handler URL [/hello.html] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) 問題出現在將@requestmapping的值和返回值設為相同。雖然後者帶.html 字尾但是系統查詢的時候會查詢很多,不僅僅是.html檔案