Tomcat doesn't watches .html files

71 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 answers

0
Никита Попов On BEST ANSWER

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