Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/ConsumerDispatcher$6 #1122

Closed
sincang opened this issue Jun 18, 2014 · 13 comments
Closed
Labels
status: duplicate A duplicate of another issue

Comments

@sincang
Copy link

sincang commented Jun 18, 2014

Hi,

We are 2 weeks before production and we are encountering the error below after sometime that the application is idle. We get no error if application is active processing messages from the Qpid broker. org.springframework.boot.loader.jar.ZipInflaterInputStream which is exploded in the classes jar create by the spring boot maven plugin does not seem to see the classes in the lib folder inside the jar.

Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/ConsumerDispatcher$6
    at com.rabbitmq.client.impl.ConsumerDispatcher.handleShutdownSignal(ConsumerDispatcher.java:164)
    at com.rabbitmq.client.impl.ChannelN.broadcastShutdownSignal(ChannelN.java:252)
    at com.rabbitmq.client.impl.ChannelN.finishProcessShutdownSignal(ChannelN.java:270)
    at com.rabbitmq.client.impl.ChannelN.processShutdownSignal(ChannelN.java:286)
    at com.rabbitmq.client.impl.ChannelManager.handleSignal(ChannelManager.java:98)
    at com.rabbitmq.client.impl.AMQConnection.finishShutdown(AMQConnection.java:733)
    at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:706)
    at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:567)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.rabbitmq.client.impl.ConsumerDispatcher$6
    at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:161)
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:131)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 9 more
Caused by: java.util.zip.ZipException: invalid distance too far back
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    at org.springframework.boot.loader.jar.ZipInflaterInputStream.read(ZipInflaterInputStream.java:52)
    at sun.misc.Resource.getBytes(Resource.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    ... 16 more
Exception in thread "SimpleAsyncTaskExecutor-45" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.springframework.amqp.rabbit.support.RabbitExceptionTranslator
    at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:161)
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:131)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 4 more
Caused by: java.util.zip.ZipException: invalid stored block lengths
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    at org.springframework.boot.loader.jar.ZipInflaterInputStream.read(ZipInflaterInputStream.java:52)
    at sun.misc.Resource.getBytes(Resource.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    ... 11 more
Exception in thread "SimpleAsyncTaskExecutor-57" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-41" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-5" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-23" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-9" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-22" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-39" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-21" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-11" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-13" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-50" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-17" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-70" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-63" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-48" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-31" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-44" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-69" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-1" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-37" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-24" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-28" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-32" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-33" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-36" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-53" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-6" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-38" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-71" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-78" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-43" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-15" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-27" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-64" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-61" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-3" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-34" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-47" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-55" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-66" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-80" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-72" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-2" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-25" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-29" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-60" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-77" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-76" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-10" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-14" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-49" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-20" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-19" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-51" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-42" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-18" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-7" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-35" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-65" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-30" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-62" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-74" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-40" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-12" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-16" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-46" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-59" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-58" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-8" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-56" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-52" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-54" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-26" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-73" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-68" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-67" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
Exception in thread "SimpleAsyncTaskExecutor-75" java.lang.NoClassDefFoundError: org/springframework/amqp/rabbit/support/RabbitExceptionTranslator
    at org.springframework.amqp.rabbit.connection.RabbitUtils.closeMessageConsumer(RabbitUtils.java:140)
    at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.stop(BlockingQueueConsumer.java:465)
    at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1074)
    at java.lang.Thread.run(Thread.java:722)
@dsyer
Copy link
Member

dsyer commented Jun 18, 2014

Did you overwrite the jar file while the app was running?

@sincang
Copy link
Author

sincang commented Jun 18, 2014

No. I just left it idle for few hours then we got this error. This actually puzzles me because I also get same error by just starting the app and let it be idle for few hours.

@sincang
Copy link
Author

sincang commented Jun 18, 2014

Please see more logs below.

2014-06-17 22:36:45.393  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'metricsEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=metricsEndpoint]
2014-06-17 22:36:45.402  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'traceEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=traceEndpoint]
2014-06-17 22:36:45.412  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'dumpEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=dumpEndpoint]
2014-06-17 22:36:45.420  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'autoConfigurationAuditEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=autoConfigurationAuditEndpoint]
2014-06-17 22:36:45.427  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'shutdownEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=shutdownEndpoint]
2014-06-17 22:36:45.444  INFO 31790 --- [           main] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'configurationPropertiesReportEndpoint': registering with JMX server as MBean [com.jpmorgan.ib.dcpp.xods.dcppdo.core.audit.monitor:type=Endpoint,name=configurationPropertiesReportEndpoint]
2014-06-17 22:36:45.456  INFO 31790 --- [           main] o.s.c.support.DefaultLifecycleProcessor  : Starting beans in phase 2147483647
2014-06-17 22:36:46.254  INFO 31790 --- [           main] c.j.i.d.x.dcppdo.core.boot.Application   : Application is running.
2014-06-17 22:36:46.270  INFO 31790 --- [           main] c.j.i.d.x.dcppdo.core.boot.Application   : Started Application in 39.622 seconds (JVM running for 44.085)
Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/ConsumerDispatcher$6
    at com.rabbitmq.client.impl.ConsumerDispatcher.handleShutdownSignal(ConsumerDispatcher.java:164)
    at com.rabbitmq.client.impl.ChannelN.broadcastShutdownSignal(ChannelN.java:252)
    at com.rabbitmq.client.impl.ChannelN.finishProcessShutdownSignal(ChannelN.java:270)
    at com.rabbitmq.client.impl.ChannelN.processShutdownSignal(ChannelN.java:286)
    at com.rabbitmq.client.impl.ChannelManager.handleSignal(ChannelManager.java:98)
    at com.rabbitmq.client.impl.AMQConnection.finishShutdown(AMQConnection.java:733)
    at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:706)
    at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:567)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.rabbitmq.client.impl.ConsumerDispatcher$6
    at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:161)
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:131)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 9 more
Caused by: java.util.zip.ZipException: invalid distance too far back
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    at org.springframework.boot.loader.jar.ZipInflaterInputStream.read(ZipInflaterInputStream.java:52)
    at sun.misc.Resource.getBytes(Resource.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    ... 16 more
Exception in thread "pool-1-thread-3" java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/ChannelManager$1
    at com.rabbitmq.client.impl.ChannelManager.scheduleShutdownProcessing(ChannelManager.java:108)
    at com.rabbitmq.client.impl.ChannelManager.handleSignal(ChannelManager.java:102)
    at com.rabbitmq.client.impl.AMQConnection.finishShutdown(AMQConnection.java:733)
    at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:706)
    at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:567)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.rabbitmq.client.impl.ChannelManager$1
    at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:161)
    at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:131)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 6 more
Caused by: java.util.zip.ZipException: invalid stored block lengths
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    at org.springframework.boot.loader.jar.ZipInflaterInputStream.read(ZipInflaterInputStream.java:52)
    at sun.misc.Resource.getBytes(Resource.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    ... 13 more
2014-06-18 00:32:40.113  INFO 31790 --- [       Thread-8] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@2448867b: startup date [Tue Jun 17 22:36:08 GMT 2014]; root of context hierarchy
2014-06-18 00:32:40.116  INFO 31790 --- [       Thread-8] o.s.c.support.DefaultLifecycleProcessor  : Stopping beans in phase 2147483647
Exception in thread "Thread-8" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy
    at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:121)
    at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:440)
    at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:396)
    at ch.qos.logback.classic.Logger.log(Logger.java:788)
    at org.apache.commons.logging.impl.SLF4JLocationAwareLog.warn(SLF4JLocationAwareLog.java:199)
    at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:891)
    at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:809)

@dsyer
Copy link
Member

dsyer commented Jun 18, 2014

I can see the application context closing (and some exceptions that might be related but not necessarily harmful). Who closed the context (or killed the process)? Maybe your OS killed it?

@sincang
Copy link
Author

sincang commented Jun 18, 2014

Hi,

We tried to kill the process after seeing the previous exception thrown be ZipInflaterInputStream. So the exception during the closing of the context is the product of the previous NoClassDefFoundError. However, this NoClassDefFoundError does not happen when we are not using the SpringBoot launcher, which means we just jar our files and declare our custom class that contains the main method in the manifest. Also we have included all the third parties in the classpath.

@sincang
Copy link
Author

sincang commented Jun 18, 2014

Hi,

I tried running the app with -verbose:class option, there are a lot of class from my jars in the lib folder are not being loaded. one of them is ConsumerDispatcher$6 class from rabbbit client. Do you think this has something to do with the spring boot launcher?

@dsyer
Copy link
Member

dsyer commented Jun 18, 2014

When you say "not being loaded" what do you mean? I think maybe you need to distil this down to a project that has the same problem but you can share.

@dsyer
Copy link
Member

dsyer commented Jun 19, 2014

Works for me. But it's hard to reproduce when you don't share the code (or steps to reproduce). Maybe someone shutdown the broker in a nasty way?

@dsyer
Copy link
Member

dsyer commented Jun 19, 2014

I can reproduce the class not found error if I

  1. start the amqp sample successfully
  2. rebuild it e.g. after a change to Spring Boot
  3. copy the new jar on top of the old one
  4. stop the broker

At this point the client needs to close its connection and tries to call the shutdown handler which requires it to load the class that has moved. Bang.

I suggest that maybe you have (inadvertently?) done the same thing. Do you have a CI build that overwrites the JAR file for instance?

See also #1106 (it's the same problem but he knows for sure how he caused it).

@sincang
Copy link
Author

sincang commented Jun 20, 2014

Hi,

You are perfectly right. I was able to duplicate it. Since the classes are lazy loaded by the class loader and the explanation in the issue #1119 where the libraries are indexed, this is the reason why when the single jar is updated, the classes that are to be loaded are nowhere to find. So basically, the problem was caused by the jar launcher. Thank you for the help. Now we can proceed to production running with Spring boot 1.1.1. Cheers to Spring boot. It is super lightweight and fast.

@philwebb
Copy link
Member

Duplicates #1106

@shahaf-sameach
Copy link

@dsyer

Did you overwrite the jar file while the app was running?

that's the exact behaviour I'm experiencing, can please elaborate on why and how can I fix it?

@agentgt
Copy link

agentgt commented Apr 29, 2021

I actually stumbled on similar problem independently of Spring Boot and I think it is a minor bug with RabbitMQ.

The fundamental problem as @dsyer pointed out is some of Rabbits classes are not full loaded till shutdown. Netty had a similar issue IIRC but I believe they figured out a solution.

Consequently the easy fix is to create a connection and possibly a queue (ie consumer dispatcher) immediately on bootup and then close immediately before extended rabbit usage such that all the classes used to shutdown a connection and channel are in memory.

This is particularly useful if you have an uber flattened shaded jar that is built frequently (boot does something differently but still has the same problem)).

dbernstein pushed a commit to duracloud/mill that referenced this issue Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

5 participants