I keep getting “Error resolving template “fragments/common”, template might not exist or might not be accessible by any of the configured Template Resolvers”. The path of common.html file is correct, fragments->common.html. My folder structure:
— WEB-INF
—- templates
—— fragments
——– common.html
—— index.html
Any help or pointers?
Alright, I found the problem. Wrong syntax, the error message says it all. I was using common.html, the template name included in include statement is incorrect.