1、先安装Erlang,再安装RabbitMQ,两者版本要对应
对应关系可参考:https://www.rabbitmq.com/which-erlang.html
2、安装RabbitMQ时,运行以下命令出错
rabbitmq-plugins.bat enable rabbitmq_management
rabbitmq-server.bat
报错部分关键字如下:
Starting broker...
BOOT FAILED
===========
Stack trace:
ERROR: node with name "rabbit" already running on "localhost"
原因:C:\Users**\AppData\Roaming\RabbitMQ路径中含中文。
解决方法:以管理员身份打开cmd,路径切换到到RabbitMQ安装目录下的sbin目录,依次执行以下命令:
rabbitmq-service.bat remove
set RABBITMQ_BASE=D:\rabbitmq\rabbitmq_server-*.*.*\data
rabbitmq-service.bat install
rabbitmq-plugins enable rabbitmq_management
参考博客
https://blog.csdn.net/qq_44121273/article/details/105103873
https://blog.csdn.net/qq_43139028/article/details/117339293
出现** (CaseClauseError) no case clause matching:…有可能是Erlang和RabbitMQ版本没对应。