You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/02/07 14:26:59 UTC
[GitHub] [rocketmq] uzqw edited a comment on issue #3364: mqnamesrv example failed to start
uzqw edited a comment on issue #3364:
URL: https://github.com/apache/rocketmq/issues/3364#issuecomment-1031525713
```sh
# make sure you are in the folder: distribution/target/rocketmq-4.9.2/rocketmq-4.9.2
vi bin/runserver.sh
# comment below line
#export CLASSPATH=.:${BASE_DIR}/conf:${CLASSPATH}
# add below line
export CLASSPATH=.:${BASE_DIR}/lib/*:${BASE_DIR}/conf:${CLASSPATH}
# comment below line
JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${JAVA_HOME}/jre/lib/ext:${BASE_DIR}/lib:${JAVA_HOME}/lib/ext"
# OK then everything is ok, you can successfully follow the official quickstart tutorial of RocketMQ
# I don't know why it can work, I just follow it (view from others) and then the errors disapper.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org