当前位置:网站首页>Local call feign interface message 404
Local call feign interface message 404
2022-04-23 20:06:00 【qq_ forty-three million four hundred and thirty-two thousand an】
First, ensure that both local services are registered in the same registry , Then the following error is reported in the call :
call feign Failure :status 404 reading XxFeign#Xx(XxDataVO)
The reason is that... Is configured in the configuration file of the called service url And feign Configured during interface call url It doesn't match ;servlet: context-path: The back url As a whole url Part of , and feign The path written by the interface annotation is incomplete ;
# The configuration file of the called service
servlet:
context-path: /data
// Calling the service feign Interface
@PostMapping("/push")
ServiceResult pushData(@RequestBody ReqPushDataVO reqPushDataVO);
Solution :
1. Comment out servlet: context-path To configure ;
2.feign The interface annotation is full path @PostMapping("/data/push");
Either way .
版权声明
本文为[qq_ forty-three million four hundred and thirty-two thousand an]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231946348824.html
边栏推荐
- A simple (redisson based) distributed synchronization tool class encapsulation
- Kubernetes入门到精通-KtConnect(全称Kubernetes Toolkit Connect)是一款基于Kubernetes环境用于提高本地测试联调效率的小工具。
- The most detailed network counting experiment in history (2) -- rip experiment of layer 3 switch
- 使用 WPAD/PAC 和 JScript在win11中进行远程代码执行
- 深度分析数据恢复原理——那些数据可以恢复那些不可以数据恢复软件
- Lpc1768 optimization comparison of delay time and different levels
- MySQL数据库 - 数据库和表的基本操作(二)
- Distinction between pointer array and array pointer
- Openharmony open source developer growth plan, looking for new open source forces that change the world!
- 指针数组与数组指针的区分
猜你喜欢

【webrtc】Add x264 encoder for CEF/Chromium

Esp8266 - beginner level Chapter 1

精简CUDA教程——CUDA Driver API

指针数组与数组指针的区分

antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题

@Mapperscan and @ mapper

php参考手册String(7.2千字)

Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy

Building googlenet neural network based on pytorch for flower recognition

No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
随机推荐
Kibana reports an error server is not ready yet. Possible causes
Distinction between pointer array and array pointer
MySQL数据库 - 单表查询(一)
Grafana shares links with variable parameters
Design of warehouse management database system
Leetcode XOR operation
Lpc1768 optimization comparison of delay time and different levels
视频理解-Video Understanding
Mysql database - single table query (II)
【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
Introduction to electron tutorial 3 - process communication
nc基础用法4
Command - sudo
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
NC basic usage 3
No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
DevOps集成-Jenkins 服务的环境变量和构建工具 Tools
音频编辑生成软件
MySQL数据库 - 连接查询
如何在BNB鏈上創建BEP-20通證