Как загрузить файл шаблона из папки ресурсов в Spring Boot Project

getClass().getResource("/path/image.png");
Bad Beaver