spring cloud - 在设置servlet.context-path以后,Feign找不到路径

2022-07-02 09:18:42

世界上并没有完美的程序,但是我们并不因此而沮丧,因为写程序就是一个不断追求完美的过程。

报错 :

feign.FeignException$NotFound: status 404 reading

解决 :

需要将context-path的路径也加入到feign的请求路径中
  • 作者:这是谁的博客?
  • 原文链接:https://hbwblog.blog.csdn.net/article/details/116703371
    更新时间:2022-07-02 09:18:42