Как получить доступ к моим файлам freemarker (*.ftl), хранящимся в моей папке src/main/resources из моего кода (Spring Приложение для загрузки)?
Я попробовал следующее
freemarker.template.Configuration config = new Configuration();
configuration.setClassForTemplateLoading(this.getClass(), "/resources/templates/");
и получить следующее исключение
freemarker.template.TemplateNotFoundException: Template not found for name "my-template.ftl".