NoClassDefFoundError: feign/slf4j/Slf4jLogger [Question]
Caused by: java.lang.NoClassDefFoundError: feign/slf4j/Slf4jLogger at org.springframework.cloud.openfeign.FeignClientsConfiguration.feignLoggerFactory(FeignClientsConfiguration.java:169) ~[spring-cloud-openfeign-core-4.2.1.jar:4.2.1] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[na:na] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:171) ~[spring-beans-6.2.6.jar:6.2.6] ... 88 common frames omitted
Even though I've imported feign-slf4j in the pom.xml, this error still occurs. I don't know why
<spring.boot.version>3.4.5</spring.boot.version>
<spring.cloud.version>2024.0.1</spring.cloud.version><spring.cloud.alibaba.version>2023.0.3.2</spring.cloud.alibaba.version>
Please try and reproduce this using 2024.0.3 and if you can reproduce it please provide a sample that shows how to reproduce the issue.
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.