Just
/usr/local/java/jdk1.8.0_151/bin/java -Xms512m -Xmx512m -Xmn256m -Dnacos.standalone=true -Dnacos.member.list= -Djava.ext.dirs=/usr/local/java/jdk1.8.0_151/jre/lib/ext:/usr/local/java/jdk1.8.0_151/lib/ext -Xloggc:/raid/ICIP2020/nacos/distribution/logs/nacos_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Dloader.path=/raid/ICIP2020/nacos/distribution/plugins/health,/raid/ICIP2020/nacos/distribution/plugins/cmdb -Dnacos.home=/raid/ICIP2020/nacos/distribution -jar /raid/ICIP2020/nacos/distribution/target/nacos-server.jar --spring.config.location=classpath:/,classpath:/config/,file:./,file:./config/,file:/raid/ICIP2020/nacos/distribution/conf/ --logging.config=/raid/```ICIP2020/nacos/distribution/conf/nacos-logback.xml --server.max-http-header-size=524288
or
could not load jarFile
This may be because U start nacos in
nacos/distribution/bin
instead of
nacos/distribution/target/nacos-server-1.4.0-SNAPSHOT/nacos/bin