通过feign项目之间调用时,第一次调用抛异常java.lang.NoClassDefFoundError: com/google/common/reflect/TypeToken,之后再调用抛异常java.lang.NoClassDefFoundError: Could not initialize class com.netflix.client.config.CommonClientConfigKey
引入
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>18.0</version> </dependency>
依赖
后报java.lang.ClassNotFoundException: com.netflix.config.CachedDynamicIntPropert
引入
<dependency> <groupId>com.netflix.archaius</groupId> <artifactId>archaius-core</artifactId> <version>0.7.6</version> </dependency>
依赖