java.lang.NoClassDefFoundError 仅在一个节点

java.lang.NoClassDefFoundError only in one node

我们集群中有2个节点,1个节点运行良好,另一个节点有时会抛出 java.lang.NoClassDefFoundError 异常,重启可能会解决问题,但始终无法解决,谁能帮忙?

Stack Trace: java.lang.NoClassDefFoundError: com/xxxx/frm/jmswrapper/common/ConnectionFactoryManager
at com.xxxx.yyyy.core.channel.impl.MMDPJMSInboundChannel.service(MMDPJMSInboundChannel.java:55)
at com.xxxx.yyyy.core.thread.task.ServiceTaskRunnableProxy.run(ServiceTaskRunnableProxy.java:11)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access1(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:682)

根本原因就是Rajeev所说的,我们在初始化日志中发现异常