解决报错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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM