下游服务controller:

public class BaseController {
protected String sessionId = null;
protected void getSessionIdFromRequest(HttpServletRequest request) {
 this.sessionId = request.getHeader().get("Session-Id");
 }
}

报错信息:

No primary or default constructor found for interface javax.servlet.http.HttpServletReques

原因:Gateway中不支持HttpServletRequest,换成ServerHttpRequest即可!!!

07-17 15:50