您的位置:首页 > 编程语言 > Java开发

java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.S

2014-03-07 17:32 477 查看
17:54:01,368 ERROR [ContextLoader] Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerService' defined in ServletContext resource [/WEB-INF/classes/config/e10000-business-services.xml]: Cannot resolve reference to bean 'systemLogService' while setting
bean property 'logService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException:
Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)

·····

at org.jboss.Main$1.run(Main.java:518)

at java.lang.Thread.run(Thread.java:619)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service
org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)

at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1443)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)

at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)

... 150 more

Caused by: java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2

at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420)

at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)

at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138)

at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65)

at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)

... 155 more

我这里出现的这个文件是加载war包是先后问题出错了,导致这个找类找不到,如果你出现类似问题,可以在生成war后,调整war包名称,不加载项目,直接运行jboss看看是否还会出现这个错。

如果没有错了,可以去这个地址看看如果更改Jboss启动顺序:http://blog.csdn.net/mypointone/article/details/20722807

如果还有错,我就无能为力了。希望能帮助你。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐