-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating bean with name 'requestMappingHandlerMapping' #14
Comments
Can you please place all the code to reproduce this in a git repo or attach it to the issue as a zip so we can reproduce this? |
@ryanjbaxter I attach ch2-1 |
@ryanjbaxter I attach ch2-1 |
The sample refers to a parent pom that I do not have so I cant build the app |
@SoftwareKing |
Is the problem solved? |
microserver-test.zip |
@niuchang3 目前没有,最近太忙了。 |
@niuchang3 你的zip代码里面有个maven是你自己下不来。microserver-user-api |
@chen497147884 你看我的例子,拉下来调整一下。 |
@SoftwareKing 你的例子 我看了 无法注入HelloFeignService 不知道是官方BUG还是我们配置的不对 |
@chen497147884 在pom 文件增加 |
@chen497147884 你加我qq吧2508203324,去掉压缩配置信息,是可以run的 |
@niuchang3 pom中加https://repo.spring.io/libs-milestone何用?我说的是你的自己的jar com.carl.microserver.app.microserver-user-api 是你自己的 不在公网上 |
@niuchang3 这个jar包 是你自己私有的 你应该把它也打到zip文件中。不然别人根本无法编译的工程 |
Remove the version from |
I have the same problem. my git https://github.com/xjune123/feign-test.git |
@ryanjbaxter Please catch the focus,Now,I remove the version from spring-boot-starter-web 。you run will see error、 |
Thanks @xjune123 I see the problem now. I think this is also related to spring-cloud/spring-cloud-netflix#2797 if you are using the Edgware release train. |
Fixed in 9ac36c7 |
@ryanjbaxter @SoftwareKing hello, i meet the same error with Activiti.
|
@cybfly 你的问题不是使用Feign开启压缩引起的,问题放错地方了 |
@SoftwareKing Ok, because i see the same requestMappingHandlerMapping...and i will ask in spring-boot project, |
配置 feign.compression.response.enabled=false 即可解决这个问题,理论请仔细查看feign-httpclien |
@qianglu1989 我要的就是开启压缩,这个问题官方代码已经fix了 |
当然你添加jar 也可以解决 |
Finchley.M9-> spring-cloud-openfeign
The text was updated successfully, but these errors were encountered: