环境
springboot 1.5.9 RELEASE
activeMQ 5.15.10
1. ActiveMQ下载启动
http://activemq.apache.org/download-archives.html ,本文用的是windows版的5.15.10版本,下载下来是压缩包,自行解压一个到目录下,CMD进入到解压目录下的bin目录下,执行 activemq.bat start 启动。
如果能成功访问http://localhost:8161/admin(用户名和密码默认为admin),则启动成功。
2.错误再现
在启动项目时直接报如下错误:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.9.RELEASE)
2019-10-31 15:43:00.733 INFO 1940 --- [ main] c.example.provider.ProviderApplication : Starting ProviderApplication on my-THINK with PID 1940 (G:\lianxi\springboot\provider\target\classes started by my in G:\lianxi\springboot\provider)
2019-10-31 15:43:00.736 INFO 1940 --- [ main] c.example.provider.ProviderApplication : No active profile set, falling back to default profiles: default
2019-10-31 15