Error creating bean with name 'freemarker' defined in file [D:\JetBrains\IntelliJ IDEA 14\works\WeiXinApp\target\classes\spring-mvc-cgform.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
JDK版本问题,降低JDK版本或者升高freemaker的版本。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
更新一下pom.xml 中的spring版本:<spring.version>3.2.9.RELEASE</spring.version>
产生这个问题的根源应该是spring在JDK1.8的问题,官方已经有修复版本,具体可以看spring的更新历史
参考:
http://www.jeecg.org/forum.php?mod=viewthread&tid=1730&extra=
spring 直接升级到3.2.15
登录 后才可以发表评论