Spring Cloud / Stream / Spring Boot的依赖管理和发布培训

时间:2017-09-05 07:40:51

标签: spring-boot spring-cloud spring-cloud-stream

这可能是一个非常基本的问题,但我很难看到Spring Boot 2 Mx,Spring Cloud Finchley.x和Spring Cloud Stream Elmhurst.x之间的关系。是否有任何文档/自述文件解释所有这些版本如何链接在一起?

我有一个需要以下dependencyManagement的项目:

  <!-- Spring Boot / Cloud / Stream dependencies -->
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-dependencies</artifactId>
    <version>${spring.boot.version}</version>
    <type>pom</type>
    <scope>import</scope>
  </dependency>
  <dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-dependencies</artifactId>
    <version>${spring.cloud.version}</version>
    <type>pom</type>
    <scope>import</scope>
  </dependency>
  <dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-stream-dependencies</artifactId>
    <version>${spring.cloud.stream.version}</version>
    <type>pom</type>
    <scope>import</scope>
  </dependency>

一切正常,直到昨天,我开始得到: 引起:java.lang.AbstractMethodError:org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.createProducerMessageHandler(Lorg / springframework / cloud / stream / provisioning / ProducerDestination; Lorg / springframework / cloud / stream / binder / ProducerProperties; Lorg / springframework /消息/ MessageChannel)Lorg / springframework的/消息/的MessageHandler;

这让我觉得我在这些项目之间存在一些依赖性问题。

总之,如果我愿意,我应该为这些“依赖项”使用哪些版本: 1)取决于最新的快照 2)取决于最新的里程碑

我在哪里可以看到这些关系? (其中包含pom.xml文件)

1 个答案:

答案 0 :(得分:2)

目前,活页夹的快照已中断。我们已经改变了2.0系列的核心项目,我们仍在修复绑定器以适应新的API。 您可以将SCSt版本覆盖为基于M1,这是一个稳定版本

相关问题