解决报错DEFAULT_INCOMPATIBLE_IMPROVEMENTS
-
freemarker整合springMVC报错如下:
警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarkerConfig' defined in class path resource [springmvc.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: DEFAULT_INCOMPATIBLE_IMPROVEMENTS - 解决方式,把原有的freemarker版本换成最新版;
- 参考地址地址:http://stackoverflow.com/questions/40650970/java-lang-nosuchfielderror-default-incompatible-improvements;
- freemarker下载地址:http://freemarker.org/freemarkerdownload.html
博客园地址:https://www.cnblogs.com/lixiuming521125/