iamhongliang 发表于 2015-1-29 12:31:24

大侠救命啊,启动tomact出现这个问题,但找不出原因啊

Context initialization failedorg.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 URL : Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class ; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:306)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4720)        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)        at java.util.concurrent.FutureTask.run(FutureTask.java:266)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)        at java.lang.Thread.run(Thread.java:745)

lcu_meng 发表于 2015-2-5 21:28:09

是不是用的jdk8?换成jdk7试试
页: [1]
查看完整版本: 大侠救命啊,启动tomact出现这个问题,但找不出原因啊