记录在调用微服务多模块间跳转路由时报错
Error has been observed at the following site(s):
*__checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
*__checkpoint ⇢ HTTP GET "/api/user/inner/get/id?userId=1702239895306649602" [ExceptionHandlingWebHandler]
Original Stack Trace:
错误原因:
根据提供的错误消息,错误似乎是在处理对端点“/api/user/interner/get/id?userId=1702239895306649602”的请求时发生的。该错误与Spring Cloud Gateway筛选器链中的WeightCalculatorWebFilter关联。
要解决此问题,我们需要检查原始堆栈跟踪。
解决方法:
查看配置文件中的路由跳转定义规则和级别位置是否合适