1GitHub源码gitclonehttps:github.comapacherocketmq.git导入IDEA,可在命令行执行mvncompile一下,保证源码能够正确编译。2启动Namesrv到namesrv模块找到NamesrvStartup,启动main方法,报错如下:PleasesettheROCKETMQHOMEvariableinyourenvironmenttomatchthelocationoftheRocketMQinstallation需设置环境变量ROCKETMQHOME。怎么设置呢?看看报错位置:org.apache.rocketmq.namesrv.NamesrvStartupcreateNamesrvCont...