-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apollo客户端无法获取项目下apollo-env.properties中的dev.meta地址 #2554
Comments
看上去 |
我也遇到了这情况, 目前其他电脑都可以,我的电脑启动windows重做一次系统,然后就不能用了! 本机双系统,Ubuntu系统中可以读取到~ 最开始以为权限问题。后来发现没用 |
@ArberChang 你确定你没有修改指定的路径,C:\opt\settings\server.properties文件确定是放在对应目录吗? |
我的问题解决了,原因为 |
@ArberChang 你这也太有毒了吧 |
@jiayaoO3O 差点重装系统.... |
😓 |
我是在windows下的 server.properties配置了apollo.meta 可以读到 能正常使用 但是 我把它放到apollo-env.properties下 dev.meta 就读不了了 用的只有apollo-client 1.1.1 版本jar包 |
@LiuQiangWangWanHong |
设置了env=dev来指定当前环境为大写DEV 就可以跑了 然后改成小写dev 也行了 昨天位置放对了 死活不行............ |
|
问题 : apollo客户端无法获取项目下apollo-env.properties中的dev.meta地址
配置情况 :

1.已经在C:\opt\settings\server.properties文件中添加env=dev
2.项目中已经添加了apollo-env-properties和app.properties

运行结果 :
提示在以下4个地方没有配置apollo.meta , 但是为什么只在这4个地方找apollo.meta呢?文档中不是写了8种获取meta地址的方法吗?我将dev.meta放到了apollo-env.properties中,它在读取到我的系统环境是dev时并没有尝试去获取dev.meta.
The text was updated successfully, but these errors were encountered: