5-5 Feign 应用启动报错 谁有老师这节课的源码工程么 求

来源:5-5 Feign的使用

Vi_vian

2018-11-22

Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.netflix.feign.FeignClientFactoryBean] from ClassLoader [sun.misc.LauncherAppClassLoader@764c12b6]org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:243) [spring−beans−5.0.0.RC3.jar:5.0.0.RC3]...32commonframesomittedCausedby:java.lang.NoClassDefFoundError:feign/FeignAppClassLoader@764c12b6] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:243) ~[spring-beans-5.0.0.RC3.jar:5.0.0.RC3] ... 32 common frames omitted Caused by: java.lang.NoClassDefFoundError: feign/FeignAppClassLoader@764c12b6]org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:243) [springbeans5.0.0.RC3.jar:5.0.0.RC3]...32commonframesomittedCausedby:java.lang.NoClassDefFoundError:feign/FeignBuilder
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_151]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_151]
at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_151]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641) ~[spring-core-5.0.0.RC3.jar:5.0.0.RC3]
… 35 common frames omitted
Caused by: java.lang.ClassNotFoundException: feign.Feign$Builder

![图片描述](http://img.mukewang.com/szimg/5bf613c30001161e27921704.jpg)
写回答

1回答

廖师兄

2018-11-22

可按课程章节获取对应的源码

https://www.imooc.com/article/23867


0
2
廖师兄
回复
Vi_vian
看仔细啊 查阅源码 可按照源码tag(标签)查找对应的章节代码 如果没有对应的章节代码,就往后找。比如我想找5-9,发现没有,往后找,最近的是7-8 作者:廖师兄 链接:https://www.imooc.com/article/23867 来源:慕课网
2018-11-27
共2条回复

SpringCloud Finchley(M2+RELEASE+SR2)微服务实战

SpringCloud组件实现微服务,【已升级Finchley.Release】

5668 学习 · 2489 问题

查看课程