1.9K Star 4.1K Fork 2.3K

JEECG / jeewx

 / 详情

freemarker 报错

已完成
创建于  
2015-11-15 16:31

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

评论 (3)

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

JEECG 关闭了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(4)
8605 phoenix911 1578914577
微信
1
https://gitee.com/jeecg/jeewx.git
git@gitee.com:jeecg/jeewx.git
jeecg
jeewx
jeewx

搜索帮助