You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
Nacos Server Version 0.7.0
Startup Exception
startup shell
sh startup.sh -m standalone
Terminal output
/Users/cinc/develop.env/jdk/jdk-11.0.1.jdk/Contents/Home/bin/java -Xms512m -Xmx512m -Xmn256m -Dnacos.standalone=true -Xlog:gc*:file=/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/logs/nacos_gc.log:time,tags:filecount=10,filesize=102400 -Djava.ext.dirs=/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/plugins/cmdb -Dnacos.home=/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos -jar /Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/target/nacos-server.jar --spring.config.location=classpath:/,classpath:/config/,file:./,file:./config/,file:/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/conf/ --logging.config=/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/conf/nacos-logback.xml
nacos is starting
-Djava.ext.dirs=/Users/cinc/Documents/github.com/cinc/nacos/distribution/target/nacos-server-0.7.0/nacos/plugins/cmdb is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Reporting bugs
Java Version
Nacos Server Version
0.7.0
Startup Exception
Fixed
Replaced
JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${BASE_DIR}/plugins/cmdb"
With
JAVA_OPT="${JAVA_OPT} -Xbootclasspath/a:./:${BASE_DIR}/plugins/cmdb"
Any other way to fix it?
The text was updated successfully, but these errors were encountered: