spring
wysghmbb
这个作者很懒,什么都没留下…
展开
-
淌过feign过程中遇到的各种坑,强烈建议jar包换成spring-cloud-starter-openfeign
首先想吐槽一下spring-cloud-openfeign-core、spring-cloud-openfeign、spring-cloud-starter-openfeign、spring-cloud-starter-feign是在是太多了,稍微用错包就可能有问题,稍微版本不匹配也会有问题。以下列举各式报错和解决方法:java.lang.NoClassDefFoundError: feign/Request$Options at org.springframework.cloud.openfeign原创 2021-09-01 14:40:10 · 3815 阅读 · 1 评论 -
ClassNotFoundException: org.springframework.core.NativeDetector报错及解决
使用springcloud想搭建一个微服务架构,在parent里引用了spring-boot-starter-web依赖,子项目却启动不了,报错如下:搭建springcloud的工程遇到的问题Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframew原创 2021-09-01 10:42:50 · 9496 阅读 · 0 评论