Add the right dependency to manage the velocity resourceLoaderPath. Add the velocity config in the mvc-dispacher-servlet.xml