You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GatewayRouter‘s subclasses are
I think when it dependent injection,will automatically find subclasses,however subclasses are in linkis-gateway-server-support
问题描述
![image](https://user-images.githubusercontent.com/91414395/141446523-361340e7-259c-44e5-bef9-a73877134388.png)
![image](https://user-images.githubusercontent.com/91414395/141446994-ee5f5ef6-a27f-45cf-9ad5-d148571a1ea5.png)
![image](https://user-images.githubusercontent.com/91414395/141447872-5dd817ab-6fd7-4e79-9104-0b73300928d8.png)
问题1
按照文档来操作调试,网关的一切配置准备就绪后,启动网关服务时,SpringCloudGatewayConfiguration.scala 抛出空指针问题,问题截图如下:
另外查看源码时还有一个疑问,如下图
gatewayParsers、gatewayRouters变量是如何赋值的,我的理解是初始时为null,没有找到赋值的地方,故出现以上空指针问题,望解答,谢谢!
问题2
如下图:gatewayProperties无法取到yml配置文件的赋值(增加依赖可解决:javax.el-api、javax.el)
本地启动配置如下
![image](https://user-images.githubusercontent.com/91414395/141447238-0db717db-b95e-4712-9335-03d93307cefc.png)
![image](https://user-images.githubusercontent.com/91414395/141447339-4e117133-40b6-43a4-b681-3ee70d8c6237.png)
![image](https://user-images.githubusercontent.com/91414395/141447401-000364c3-adcd-40d5-b110-575ce36d7e2f.png)
![image](https://user-images.githubusercontent.com/91414395/141447485-64a549a7-cb39-44d6-8acf-49b51a6fa965.png)
资源文件列表:
application.yml:
linkis.properties:
linkis-mg-gateway.properties:
The text was updated successfully, but these errors were encountered: