did not find the error why it is always 404, is the directory wrong? There is no problem with rendering without templates with @ ResController, but not with @ Controller
Whitelabel Error Page
This application has no explicit mapping for / error, so you are seeing this as a fallback.
Wed May 09 18:40:48 CST 2018
There was an unexpected error (type=Not Found, status=404).
No message available