经历了一波吐血的操作,建议就是好好看报错的日志,总能找到问题的!
查看:apache-activemq-5.9.0\data目录下的log日志,认真看
ERROR | Failed to start Apache ActiveMQ ([localhost, ID:DESKTOP-AIAH3DM-20864-1553839442333-0:1], java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind)
重启activeMQ时,退出后,用命令netstat -ano |findstr 61616查看下端口是否被占用,一般都要taskkill /f /pid (pid) 杀死进程