I'm trying to follow an official guide: https://spring.io/guides/gs/serving-web-content/ I run the application. Then in a browser http://localhost:8080/greeting
Result:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Aug 29 10:32:01 MSK 2020
There was an unexpected error (type=Internal Server Error, status=500).
That is something at the server side. Here I have what there was in the console: https://dpaste.com/AXBQW2EPV
I believe I need to localize the problem. I suspect the problem hides here: Circular view path [greeting]: would dispatch back to the current handler URL [/greeting] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
Am I right? That is the flow reached the controller and occurred in the infinite loop?