传智播客韩顺平Java和javaEE视频教程完整版 [30.16G]倾情奉献

徐刘根
Java领域优质创作者
博客专家认证
2014-10-06 10:15:40
自己网盘珍藏的:韩顺平Java和javaEE视频教程完整版 [30.16G]分享给大家!以供学习交流!



网盘分享地址:http://yunpan.cn/cgk5UbH6nLHL2 提取码:1e07

...全文
69912 81 打赏 收藏 举报
写回复
81 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
Overffo 2018-09-10
链接已经失效了,可以再发我一份吗?
  • 打赏
  • 举报
回复
_明月 2018-09-04

楼主,借你的帖子向你问一个问题:

在我编写Dubbo的简单Demo中,使用“配置式调用服务”和“注解式服务”,都无法解决 消费者在获取生产者 Service时,产生依赖失败的问题,该如何解决呢?

问题报错信息如下:



org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cn.itsource.dubbo.SpringDubboConsumerTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public cn.itsource.dubbo.service.IUserService cn.itsource.dubbo.SpringDubboConsumerTest.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service cn.itsource.dubbo.service.IUserService. No provider available for the service cn.itsource.dubbo.service.IUserService from the url multicast://239.5.6.8:12345/com.alibaba.dubbo.registry.RegistryService?application=dubbo-test-consumer&dubbo=2.8.4a&interface=cn.itsource.dubbo.service.IUserService&methods=getUserById&owner=yhptest&pid=15272&side=consumer×tamp=1536049276389 to the consumer 169.254.199.250 use dubbo version 2.8.4a
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1204)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:385)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: public cn.itsource.dubbo.service.IUserService cn.itsource.dubbo.SpringDubboConsumerTest.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service cn.itsource.dubbo.service.IUserService. No provider available for the service cn.itsource.dubbo.service.IUserService from the url multicast://239.5.6.8:12345/com.alibaba.dubbo.registry.RegistryService?application=dubbo-test-consumer&dubbo=2.8.4a&interface=cn.itsource.dubbo.service.IUserService&methods=getUserById&owner=yhptest&pid=15272&side=consumer×tamp=1536049276389 to the consumer 169.254.199.250 use dubbo version 2.8.4a
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:555)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service cn.itsource.dubbo.service.IUserService. No provider available for the service cn.itsource.dubbo.service.IUserService from the url multicast://239.5.6.8:12345/com.alibaba.dubbo.registry.RegistryService?application=dubbo-test-consumer&dubbo=2.8.4a&interface=cn.itsource.dubbo.service.IUserService&methods=getUserById&owner=yhptest&pid=15272&side=consumer×tamp=1536049276389 to the consumer 169.254.199.250 use dubbo version 2.8.4a
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1512)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1081)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1006)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:904)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:527)
... 28 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.itsource.dubbo.service.IUserService. No provider available for the service cn.itsource.dubbo.service.IUserService from the url multicast://239.5.6.8:12345/com.alibaba.dubbo.registry.RegistryService?application=dubbo-test-consumer&dubbo=2.8.4a&interface=cn.itsource.dubbo.service.IUserService&methods=getUserById&owner=yhptest&pid=15272&side=consumer×tamp=1536049276389 to the consumer 169.254.199.250 use dubbo version 2.8.4a
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:168)
... 36 more





  • 打赏
  • 举报
回复
fb362203 2018-06-03
谢谢分享。。。。
  • 打赏
  • 举报
回复
cl723401 2017-05-18
楼主还有韩老师的视频吗?分享无效了
  • 打赏
  • 举报
回复
Longerlive 2017-03-27
失效了。。 哪位好心人能再发一份吗,万分感激-- ---2898770221@qq.com
  • 打赏
  • 举报
回复
dyz小哲 2017-03-16
1261594644@qq.com 能发我一份么 楼主大人!
  • 打赏
  • 举报
回复
dyz小哲 2017-03-16
楼主 资源能在分享下吗 没找到啊!跪求啊 多谢!
  • 打赏
  • 举报
回复
专科懒人哥 2017-03-09
能发我一份嘛 兄弟 !好心人 小弟也想学
  • 打赏
  • 举报
回复
qq_17078765 2017-01-11
谢谢楼主分享很需要
  • 打赏
  • 举报
回复
qq_17078765 2017-01-11
能给个链接吗279434164@qq.com
  • 打赏
  • 举报
回复
folish08 2017-01-05
不知道能不能下载,楼主好人。
  • 打赏
  • 举报
回复
qq_25442841 2016-12-20
资源失效了,求分享啊
  • 打赏
  • 举报
回复
弓昭 2016-12-14
资源挂了,能重新上传一个百度云吗? 谢谢!
  • 打赏
  • 举报
回复
麻杆子 2016-12-14
网盘失效了,谁还有种子,求分享
  • 打赏
  • 举报
回复
灵魂布鲁斯 2016-12-09
  • 打赏
  • 举报
回复
Ameliailikeyy 2016-12-08
衔接失败了,楼主能重新发送下吗?谢谢
  • 打赏
  • 举报
回复
qz_baozi 2016-12-01
楼主连接失效了,可以重新共享一下么?
  • 打赏
  • 举报
回复
十三 2016-11-11
还有下载的地址不已经过期了!
  • 打赏
  • 举报
回复
rex1995 2016-11-10
楼主怎么链接失效了。。。能补一下可以吗?谢谢
  • 打赏
  • 举报
回复
五命九九 2016-11-03
楼主我来挖坟了…… 链接失效了,能再传一个给我吗?
  • 打赏
  • 举报
回复
加载更多回复(60)
发帖
其他

1.0w+

社区成员

Web 开发 其他
社区管理员
  • 其他
加入社区
帖子事件
创建了帖子
2014-10-06 10:15
社区公告
暂无公告