freemarker ,DEFAULT_INCOMPATIBLE_IMPROVEMENTS

阅读更多
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'freemarkEngine' defined in class path resource [conf/app-resources.xml]: Cannot resolve reference to bean 'freemarkerConfiguration' while setting bean property 'configuration';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'freemarkerConfiguration' defined in class path resource [conf/app-resources.xml]:
Invocation of init method failed;
nested exception is java.lang.NoSuchFieldError: DEFAULT_INCOMPATIBLE_IMPROVEMENTS

版本不对。使用新版本:


org.freemarker
freemarker
2.3.23



而不是:
               
freemarker
freemarker
2.3.9

你可能感兴趣的:(freemarker)