jiajia li

Results 7 comments of jiajia li

+1 i use spring-boot 2.4.6 + servlert + consul client config ---------------------- management: server: port: 9000 endpoints: web: exposure: include: "*" server: port: 80 http2: enabled: true servlet: encoding: force:...

![image](https://user-images.githubusercontent.com/22983711/143187271-d1cf8498-8ba6-4101-984d-233d5818eff8.png)

xxl-job-core: 2.3.0 xxl-job-admin: 2.3.0 触发调度: address:http://192.168.30.30:9999/ code:500 msg:The access token is wrong. 我怀疑是 xxl-job-admin 环境变量不识别 xxl.job.accessToken 大小写, 导致 admin端配置无效

![image](https://user-images.githubusercontent.com/22983711/147021009-d2e62b5d-1a37-4cb9-bdef-52930949c2b7.png) https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config.typesafe-configuration-properties.vs-value-annotation

在使用环境变量配置方式无效 (在容器化部署中很常见的问题)