linux下nacos集群部署报错Error: Could not create the Java Virtual Machine.

修改startup.sh时注意空格
注意这里-Dserver "-"之后没有空格

nohup $JAVA -Dserver.port=${PORT} ${JAVA_OPT} nacos.nacos >> ${BASE_DIR}/logs/start.out 2>&1 &
 
posted @ 2021-06-02 15:32  yihuiComeOn  阅读(31)  评论(0)    收藏  举报  来源