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

标签

发表评论

Comment List(2)

  • 麦加C

    2015.5.18 15:05

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

    • 段永明

      2015.5.19 09:05

      到处配置:(