java.lang.NoClassDefFoundError: javax/jms/JMSException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

,
Expert tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

java.lang.NoClassDefFoundError: javax/jms/JMSException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.tridion.cache.CacheChannel.configure(CacheChannel.java:249)
at com.tridion.cache.CacheChannel.createCacheChannel(CacheChannel.java:228)
at com.tridion.cache.CacheFactory.configure(CacheFactory.java:222)
at com.tridion.storage.configuration.CacheConfigurationLoader.configure(CacheConfigurationLoader.java:17)
at com.tridion.configuration.step.ConfigurationStepLoader.configure(ConfigurationStepLoader.java:47)
at com.tridion.storage.StorageManagerFactory.configure(StorageManagerFactory.java:139)
at com.tridion.services.BaseService.(BaseService.java:107)
at com.tridion.storage.StorageManagerFactory.(StorageManagerFactory.java:106)
at com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:86)
at com.tridion.storage.StorageManagerFactory.(StorageManagerFactory.java:58)
at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.checkSessionWrapperAvailability(WritableODataClaimProcessor.java:152)
at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.guaranteeInitialized(WritableODataClaimProcessor.java:138)
at com.tridion.webservices.claimprocessor.WritableODataClaimProcessor.onRequestStart(WritableODataClaimProcessor.java:51)
at com.tridion.ambientdata.Engine.onRequestStart(Engine.java:147)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.