Tomcat doesn't watches .html files

75 Views Asked by At

I created Spring MVC project, made two simple controllers and views, that they are returning. But when I go to required path (ex.: localhost:8080/otters), I see 404 error (image below)

GitHub: https://github.com/nikita-popov-java/SpringMVCTemplate

image below

I tryed clean|install maven, restart server\computer\reinstall IDE, changed java\tomcat versions, nothing was worked =(

1

There are 1 best solutions below

0
On BEST ANSWER

Answer is ridiculously simple. All problems there was because I extended my SpringConfig class from WebMvcConfigurationSupport instead of WebMvcConfigurer