springcloud
文章平均质量分 51
DELIBERATELY
这个作者很懒,什么都没留下…
展开
-
Feign中使用hystrix功能和@EnableFeignClients和@ComponentScan注解的一个坑
跟着尚硅谷的SpringCloud教程学的,然后在写代码的时候用了比较新的版本去替代视频里的教学版本。 使用SpringCloud的Finchley.SR1版本 使用SpringBoot的2.0.1.RELEASE版本 在学到hystrix断路器的时候 由于@EnableFeignClients和@ComponentScan注解的时候,由于包路径设置不正确,导致错误。 错误重现 这是m...原创 2018-09-27 15:43:08 · 9757 阅读 · 5 评论 -
Finchley.SR1版本的openfeign@Autowired注解的一个坑
我是跟着尚硅谷的SpringCloud教程学的,然后在写代码的时候用了比较新的版本去替代视频里的教学版本。 这个问题出现在引入feign组件的时候。 使用SpringCloud的Finchley.SR1版本 引用openfeign替代了 feign,原因如下 链接地址https://stackoverflow.com/questions/49823158/differences-bet...原创 2018-09-22 15:35:42 · 2881 阅读 · 5 评论 -
Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/spring
相关学习进度 https://github.com/zq99299/essay-note/blob/master/chapter/imooc/spring_security/security/%E5%9B%BE%E7%89%87%E9%AA%8C%E8%AF%81%E7%A0%81%E9%87%8D%E6%9E%84.md 配置图形验证码进行拦截的时候,针对url进行拦截,然后在配置文件中注释...原创 2018-10-06 17:14:29 · 19570 阅读 · 4 评论