楼主
发表于: 2012-04-26 09:03:27
各位帮帮忙... 04-26 08:32:55 [INFO ] factory.support.DefaultListableBeanFactory destroySingletons 422 - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6ccf3e: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,hello,helloWorld,get,getmsg,getno,no]; root of factory hierarchy 04-26 08:32:55 [INFO ] context.support.XmlWebApplicationContext doClose 1002 - Closing Root WebApplicationContext: startup date [Thu Apr 26 08:32:38 CST 2012]; root of context hierarchy 04-26 08:32:55 [WARN ] context.support.XmlWebApplicationContext doClose 1010 - Exception thrown from ApplicationListener handling ContextClosedEvent org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'cxf': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:148) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1007) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970) at org.apache.cxf.bus.spring.SpringBus.destroyBeans(SpringBus.java:131) at org.apache.cxf.bus.CXFBusImpl.shutdown(CXFBusImpl.java:217) at org.apache.cxf.bus.CXFBusImpl.shutdown(CXFBusImpl.java:199) 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.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:273) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:199) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:433) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:451) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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)
更多0
分享到:
相关知识库: CSS3 Hive Objective-C 区块链
width="728" height="90" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" id="aswift_1" name="aswift_1" style="box-sizing: content-box; left: 0px; position: absolute; top: 0px;">
|
|
对我有用[0] 丢个板砖[0] 引用 | 举报 |
管理
回复次数:5
|
#1 得分:40
回复于: 2012-04-26 09:24:23
单例的bean不允许被创建,除非单例工厂被销毁。应该是你使用的这个单例bean,又被你重复创建实例啦
|
|
对我有用[0] 丢个板砖[0] 引用 | 举报 |
管理
|
#2 得分:0
回复于: 2012-04-26 09:51:14
不知道怎么回事了,做了3个前两个都正常,这个就报错
|
|
对我有用[0] 丢个板砖[0] 引用 | 举报 |
管理
|
#3 得分:0
回复于: 2012-05-04 15:56:23
同求,楼主有没有解决?共享下呗
|
|
对我有用[0] 丢个板砖[0] 引用 | 举报 |
管理
|
#4 得分:0
回复于: 2012-05-04 16:23:22
引用 2 楼 的回复:
不知道怎么回事了,做了3个前两个都正常,这个就报错 楼主,最后是怎么解决的呢? |
|
对我有用[0] 丢个板砖[0] 引用 | 举报 |
管理
|
#5 得分:0
回复于: 2012-05-04 17:52:39
引用 3 楼 的回复:
同求,楼主有没有解决?共享下呗 看看你的接口实现类有没有下面这句 @WebService(endpointInterface="test.GetNo") 我的错误很失败很丢人,我接口的test.GetNo这个写成小写了test.getNo。 还有你看看你的接口有没有下句。 @WebService |
|
|