命令行启动Rocketmq
运行java -jar rocketmq-console-ng-1.0.0.jar报错connect to <null> failed
rocketmq.config.isVIPChannel=false
默认为空,添加false就不报错了
如果命令行没报错,网页 报错http://localhost:7000/
则可能没有启动NameServer 和broker(要注意启动顺序)
nohup
sh
bin/mqnamesrv &
nohup
sh
bin/mqbroker
-n
localhost:9876 &
关闭
Server(
要注意关闭顺序
)
sh bin/mqshutdown broker
sh bin/mqshutdown namesrv
打包并跳过测试
mvn clean package -Dmaven.test.skip=true