Forum Discussion

ganeshmisson's avatar
ganeshmisson
New Contributor
8 years ago

I am getting the following error when i work with Hermes JMS (java.lang.NoClassDefFoundError: org/)

I am facing the following NoClassDefintionFound error: Please provide some solution

 

java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at com.fedex.mi.decorator.jms.FedexTibcoInitialContext.<init>(FedexTibcoInitialContext.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at hermes.JNDIContextFactory.createContext(JNDIContextFactory.java:261)
at hermes.JNDIConnectionFactory.createConnection(JNDIConnectionFactory.java:80)
at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:122)
at hermes.impl.jms.ConnectionManagerSupport.createConnection(ConnectionManagerSupport.java:92)
at hermes.impl.jms.ConnectionSharedManager.reconnect(ConnectionSharedManager.java:81)
at hermes.impl.jms.ConnectionSharedManager.connect(ConnectionSharedManager.java:91)
at hermes.impl.jms.ConnectionSharedManager.getConnection(ConnectionSharedManager.java:104)
at hermes.impl.jms.ConnectionSharedManager.getObject(ConnectionSharedManager.java:142)
at hermes.impl.jms.ThreadLocalSessionManager.connect(ThreadLocalSessionManager.java:190)
at hermes.impl.jms.ThreadLocalSessionManager.getSession(ThreadLocalSessionManager.java:570)
at hermes.impl.jms.AbstractSessionManager.getDestination(AbstractSessionManager.java:387)
at hermes.impl.DefaultHermesImpl.getDestination(DefaultHermesImpl.java:323)
at hermes.browser.tasks.BrowseDestinationTask.invoke(BrowseDestinationTask.java:122)
at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)
at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
at java.net.URLClassLoader.findClass(Unknown Source)
at hermes.impl.LoaderSupport$DebugClassLoader.findClass(LoaderSupport.java:130)
at java.lang.ClassLoader.loadClass(Unknown Source)
at hermes.impl.LoaderSupport$DebugClassLoader.loadClass(LoaderSupport.java:99)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more

 

 

No RepliesBe the first to reply