I am using freemarker templates in my application Before deploying my application to a jar file, all I needed to do in order to load my templates was this: cfg.setDirectoryForTemplateLoading(new File("templates")); Which loaded all templates from the template folder I created inside my project. Now, after moving to maven and deploying my application to an executable jar. The application cannot fin