dongjycode opened a new issue #1086:
URL: https://github.com/apache/incubator-linkis/issues/1086


   **问题描述**
     **问题1**
   按照文档来操作调试,网关的一切配置准备就绪后,启动网关服务时,SpringCloudGatewayConfiguration.scala 
抛出空指针问题,问题截图如下:
   
![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)
   
gatewayParsers、gatewayRouters变量是如何赋值的,我的理解是初始时为null,没有找到赋值的地方,故出现以上空指针问题,望解答,谢谢!
   **问题2**
   如下图:gatewayProperties无法取到yml配置文件的赋值(增加依赖可解决:javax.el-api、javax.el)
   
![image](https://user-images.githubusercontent.com/91414395/141447872-5dd817ab-6fd7-4e79-9104-0b73300928d8.png)
   
   
   **本地启动配置如下**
    资源文件列表:
   
![image](https://user-images.githubusercontent.com/91414395/141447238-0db717db-b95e-4712-9335-03d93307cefc.png)
   application.yml:
   
![image](https://user-images.githubusercontent.com/91414395/141447339-4e117133-40b6-43a4-b681-3ee70d8c6237.png)
   linkis.properties:
   
![image](https://user-images.githubusercontent.com/91414395/141447401-000364c3-adcd-40d5-b110-575ce36d7e2f.png)
   linkis-mg-gateway.properties:
   
![image](https://user-images.githubusercontent.com/91414395/141447485-64a549a7-cb39-44d6-8acf-49b51a6fa965.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to