SpringCloud Nacos本地启动失败 ead cluster conf fail nacos\conf\cluster.conf (系统找不到指定的路径。)

在尝试启动SpringCloud Nacos时遇到了'ead cluster conf fail'错误,原因是缺少集群配置文件。解决方法是在启动前配置vm参数-Dnacos.standalone=true,这样可以正常启动。启动成功后,Nacos的日志、配置和数据文件路径分别为C:Usersiterw_3hpc00q acos/logs/、C:Usersiterw_3hpc00q acos/conf/和C:Usersiterw_3hpc00q acos/data/。
摘要由CSDN通过智能技术生成

2021-03-11 08:28:21.437 ERROR 1976 --- [           main] c.l.StartingSpringApplicationRunListener : read cluster conf fail

java.io.FileNotFoundException: C:\Users\iterw_3hpc00q\nacos\conf\cluster.conf (系统找不到指定的路径。)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at com.alibaba.nacos.core.utils.SystemUtils.readClusterConf(SystemUtils.java:124)
    at com.alibaba.nacos.core.listener.StartingSpringApplicationRunListener.logClusterConf(StartingSpringApplicationRunListener.java:141)
    at com.alibaba.nacos.core.listener.StartingSpringApplicationRunListener.contextPrepared(StartingSpringApplicationRunListener.j

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

未来AI编程

共鸣===鼓励 打赏您随意

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值