主题 : 启动时候报的错
级别: 举人
UID: 1416
积分:69 加为好友
威望: 0 精华: 0
主题:11 回复:15
注册时间:2009-12-21
在线时长:0
1#   发表于:2009-12-21 10:36:46  IP:222.66.*.*
严重: Exception sending context initialized event to listener instance of class com.jeecms.core.web.ApplicationListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'websiteMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.manager.CmsAdminMng com.jeecms.core.manager.impl.WebsiteMngImpl.cmsAdminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsAdminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.core.manager.AdminMng com.jeecms.cms.manager.impl.CmsAdminMngImpl.adminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884)
at com.jeecms.core.web.ApplicationListener.contextInitialized(ApplicationListener.java:24)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.cms.manager.CmsAdminMng com.jeecms.core.manager.impl.WebsiteMngImpl.cmsAdminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsAdminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.core.manager.AdminMng com.jeecms.cms.manager.impl.CmsAdminMngImpl.adminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:435)
at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)
... 36 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmsAdminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.core.manager.AdminMng com.jeecms.cms.manager.impl.CmsAdminMngImpl.adminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)
... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.jeecms.core.manager.AdminMng com.jeecms.cms.manager.impl.CmsAdminMngImpl.adminMng; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:435)
at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)
... 51 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminMngImpl': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)
... 53 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ponyjava.common.struts2.ContextPvd com.jeecms.core.manager.impl.AdminMngImpl.contextPvd; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:435)
at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)
... 66 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined: Unsatisfied dependency of type [interface com.ponyjava.common.struts2.ContextPvd]: expected at least 1 matching bean
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:613)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)
... 68 more
级别: 白丁
UID: 3
积分:2415 加为好友
威望: 0 精华: 0
主题:23 回复:1614
注册时间:2009-06-02
在线时长:0
2#   发表于:2009-12-26 19:40:57  IP:59.139.*.*
Error creating bean with name 'adminMngImpl': Autowiring of fields failed;
No unique bean of type [com.ponyjava.common.struts2.ContextPvd] is defined

检查下是否修改过程序或数据库结构
生命在于折腾!
1 共1页