nacos is starting with standalone

mac 启动nacos 显示nacos is starting with standalone,实际并无法正常访问,打开logs看到末尾提示:Nacos /Library/Internet: No such file or directory,这表示nacos没有找到java 安装路径,解决方法就是修改nacos的startup.sh文件


改为如图所示,指定JAVA_HOME为自己的安装的路径,完美解决

参考:https://blog.csdn.net/qq_41195778/article/details/111304966?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2aggregatepagefirst_rank_ecpm_v1~rank_v31_ecpm-2-111304966.pc_agg_new_rank&utm_term=mac+%E5%A4%B1%E8%B4%A5+%E5%AE%89%E8%A3%85nacos&spm=1000.2123.3001.4430

posted @ 2022-03-21 22:15  micer  阅读(2656)  评论(0编辑  收藏  举报