解决报错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
posted @ 2017-02-27 10:56  啄木鸟伍迪  阅读(7543)  评论(0编辑  收藏  举报
//火箭 GenerateContentList();