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) [spring−beans−5.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
022018-11-27
SpringCloud Finchley(M2+RELEASE+SR2)微服务实战
5668 学习 · 2489 问题
相似问题