i liked the simplicity of thymeleaf templating from frontend designer perspective, but above code is raising error which suggests me that controller or templateResolver is not able to find form.html to render
Re: template might not exist or might not be accessible by any of the configured Template Resolvers
You are using the ServletContextTemplateResolver and using "/resources/templates/" as prefix. Are your templates really in "/resources/templates/"? Maybe it's "/WEB-INF/resources/templates/" (which is more common)?