JeeCG项目无法启动 Failed to obtain BeanInfo for class

基于JeeCG的做的一个小项目上今天出现无法重启的现象,错误信息如下:
[org.springframework.web.context.ContextLoader]Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templetContext': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarker' defined in file [/usr/local/tomcat/webapps/jeewx/WEB-INF/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

网上搜了问题有一样的,说是用JDK8引起的,貌似真是。换回jdk7一切恢复正常
参考:http://blog.csdn.net/yidragon88xx/article/details/44810041

http://blog.csdn.net/gjswxhb/article/details/39100029

    A+
发布日期:2015年05月18日  所属分类:Java
标签:

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:2   其中:访客  1   博主  1

  1. 麦加C 5

    所谓的一次开发,到处调试……

    View Comment