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

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



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

...全文
70910 81 打赏 收藏 转发到动态 举报
写回复
用AI写文章
81 条回复
切换为时间正序
请发表友善的回复…
发表回复
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
  • 打赏
  • 举报
回复
楼主 资源能在分享下吗 没找到啊!跪求啊 多谢!
ZJIET-LC 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)

10,606

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 其他
社区管理员
  • 其他
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧