java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/LongString

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

,
via Stack Overflow by Aspirant

Please add the jar file of spring as dependency for that JavaFX Project.

Solutions on the web

via Spring JIRA by Sergei, 1 year ago
com/rabbitmq/client/impl/LongString
via Spring JIRA by Sergei, 1 year ago
com/rabbitmq/client/impl/LongString
via GitHub by hadolphs
, 2 years ago
org/slf4j/impl/StaticLoggerBinder
java.lang.NoClassDefFoundError: com/rabbitmq/client/impl/LongString
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at com.erp.config.AMQPConfiguration$$EnhancerByCGLIB$$b2a07f4e.rabbitTemplate()
at com.erp.config.AMQPConfiguration.requestServiceGateway(AMQPConfiguration.java:74)
at com.erp.config.AMQPConfiguration$$EnhancerByCGLIB$$b2a07f4e.CGLIB$requestServiceGateway$5()
at com.erp.config.AMQPConfiguration$$EnhancerByCGLIB$$b2a07f4e$$FastClassByCGLIB$$1c089aae.invoke()
at com.erp.config.AMQPConfiguration$$EnhancerByCGLIB$$b2a07f4e.requestServiceGateway()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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