首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
anfang专题
根据代码分析java.lang.IllegalStateException: Invalid host: lb://anfang_security_service异常
其实这个错误追溯到源码中,显然就解决了 如上图所示,filter方法中,通过错误提示发现,如下代码routeUri.getHost()为空了。 if ("lb".equalsIgnoreCase(routeUri.getScheme()) && routeUri.getHost() == null) {throw new IllegalStateException("Invalid ho
阅读更多...