title: Upgrade of Java 8 and MQ - NoClassDEfFoundError
body: <p>we recently upgraded our code to Java 8. As part of it MQ was also upgraded to MQ 9. We are using two components jms(7.0.1.6) and jmqi(7.0.1.6) earlier.
      Now we replaced both the jars with allclient and tracecontrol of MQ 9.0.0.0 JAR.</p>
  
  <pre><code>2017-10-24 02:30:07 INFO  server.SqlService&lt;start:29&gt; -  SQL
  Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/JMSRuntimeException
      at com.ibm.mq.jms.MQDestination.&lt;clinit&gt;(MQDestination.java:71)
      at com.epo.core.server.config.LdapConfig.getQueue(LdapConfig.java:213)
      at com.epo.core.server.MqService.start(MqService.java:77)
      at com.epo.core.service.ServiceGroup.start(ServiceGroup.java:90)
      at com.epo.core.service.ServiceGroup.startAll(ServiceGroup.java:76)
      at com.epo.core.service.ServiceGroup.start(ServiceGroup.java:70)
      at com.epo.server.dispatcher.DispatcherProcess.initializeServices(DispatcherProcess.java:380)
      at com.epo.server.dispatcher.DispatcherProcess.run(DispatcherProcess.java:320)
      at com.epo.server.dispatcher.DispatcherProcess.main(DispatcherProcess.java:200)
  Caused by: java.lang.ClassNotFoundException: javax.jms.JMSRuntimeException
      at java.net.URLClassLoader.findCl`enter code here`ass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 9 more
  </code></pre>
  
  <p>Please let me know why I am getting <code>NoClassDefFoundError</code>.</p>