I am learning Thymeleaf from below url
Instead on using Gradle, I have downloaded all required jars from Thymeleaf official page.
Why does eclipse is throwing compile error at ThymeleafConfig class at line
ServletContextTemplateResolver templateResolver = new ServletContextTemplateResolver();
On deep research i found that this constructor requires servlet context as input.
The tutorials you're looking at are probably using those older versions. Use the one that is appropriate for your environment.