-
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