Spring Amqp has NoClassDefFoundError in springframework RetryCallback class

前端 未结 1 526
日久生厌
日久生厌 2021-01-23 08:51

I have been working on a distributed web project and I want to utilize Spring amqp using RabbitMq in it. I use springFramework version 4.1.6 in my project. To do this, I have ad

相关标签:
1条回答
  • 2021-01-23 09:01

    The class you miss here is in this lib:

    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-messaging</artifactId>
      <version>4.2.4.RELEASE</version>
    </dependency>
    

    In general if you miss some obscure class (getting NoClassDefFoundError for a third-party) the best way is to use:

    central Nexus search by classname

    0 讨论(0)
提交回复
热议问题