异常详情:
Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.web.servlet.handler.AbstractHandlerMapping.obtainApplicationContext()Lorg/springframework/context/ApplicationContext;
参考https://blog.csdn.net/u012527870/article/details/81843504,找到原因在于spring的jar包版本冲突
解决方案:
1. 将该项目依赖的spring版本改为4.3.18
2. 在该项目中引入activemq-all依赖时,排除掉spring