原因:java.lang.ClassNotFoundException:org.springframework.xd.dirt.integration.rabbit.RabbitConnectionFactoryBean
Caused by: java.lang.ClassNotFoundException: org.springframework.xd.dirt.integration.rabbit.RabbitConnectionFactoryBean
在我们的 Spring 应用程序中,我们添加了 spring 兔子侦听器来读取消息。添加 SSL 后,我们收到以下错误(Class 未找到异常)。然后在 POM 文件中添加 spring-xd_dirt 的 POM 依赖项。之后它会出现错误,例如 pom.xml 中缺少工件。
有人可以帮我找到依赖的 JAR 文件吗?
<bean id="clientConnectionFactory"
class="org.springframework.xd.dirt.integration.rabbit.RabbitConnectionFactoryBean">
<property name="useSSL" value="true" />
</bean>
<dependency>
<groupId>org.springframework.xd</groupId>
<artifactId>spring-xd-dirt</artifactId>
<version>1.0.4.RELEASE</version>
</dependency>
Multiple annotations found at this line:
- Missing artifact org.kitesdk:kite-data-
core:jar:0.13.0
- Missing artifact jdk.tools:jdk.tools:jar:1.6
你的意思是org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean
?完全不清楚为什么有人会在 Spring XD...
的支持下使用这样一个项目
it worked with the one you suggested class file for me. But issue here is docs.spring.io/spring-amqp/reference/htmlsingle (RabbitConnectionFactoryBean and Configuring SSL) - the example they have mentioned the class file which I have mentioned in this issue.
请就此事提出 JIRA,我们会解决它:https://jira.spring.io/browse/AMQP!
在我们的 Spring 应用程序中,我们添加了 spring 兔子侦听器来读取消息。添加 SSL 后,我们收到以下错误(Class 未找到异常)。然后在 POM 文件中添加 spring-xd_dirt 的 POM 依赖项。之后它会出现错误,例如 pom.xml 中缺少工件。 有人可以帮我找到依赖的 JAR 文件吗?
<bean id="clientConnectionFactory"
class="org.springframework.xd.dirt.integration.rabbit.RabbitConnectionFactoryBean">
<property name="useSSL" value="true" />
</bean>
<dependency>
<groupId>org.springframework.xd</groupId>
<artifactId>spring-xd-dirt</artifactId>
<version>1.0.4.RELEASE</version>
</dependency>
Multiple annotations found at this line:
- Missing artifact org.kitesdk:kite-data-
core:jar:0.13.0
- Missing artifact jdk.tools:jdk.tools:jar:1.6
你的意思是org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean
?完全不清楚为什么有人会在 Spring XD...
it worked with the one you suggested class file for me. But issue here is docs.spring.io/spring-amqp/reference/htmlsingle (RabbitConnectionFactoryBean and Configuring SSL) - the example they have mentioned the class file which I have mentioned in this issue.
请就此事提出 JIRA,我们会解决它:https://jira.spring.io/browse/AMQP!