down vote        I was also facing the same issue when I moved from spring-3.0 to spring-5.0 while using Tomcat-7 to deploy my application. I added below maven dependency in  pom.xml  file and it got resolved.  <dependency>     <groupId>javax.jms</groupId>     <artifactId>javax.jms-api</artifactId>     <version>2.0.1</version> </dependency>   The root cause I found is,  UserCredentialsConnectionFactoryAdapter  class provided by  spring-jms-5.0.2.RELEASE.jar  was using  JMSContext  class internally. This class was not available in  jms-1.1.jar  which I was using with  spring-jms-3.2.4.jar .   So I replaced  jms-1.1.jar  with  javax.jms-api-2.0.1.jar   I would suggest you to add/upgrade your jms jar as mentioned above according to you spring version.      Hope this works!     
A Full Stack developer who is facing problems in development cycle and here you find solution of errors of those problems.This includes all exception and configuration issues. Solutions which i have written in blog are the one which worked for me after killing my time :) .