In sts I'm doing some sample freemarker maven project when I'm configuring I'm getting following error.
The type
freemarker.core.Configurable
cannot be resolved. It is indirectly referenced from required.class
files
Below is my code snippet:
final Configuration configuration = new Configuration();
configuration.setClassForTemplateLoading(App.class, "/");