可以将 Spring Boot 1.3.0.M1 与 Spring Cloud 一起使用吗?

Possible to use Spring Boot 1.3.0.M1 with Spring Cloud?

我希望能够开始使用 Spring Boot 1.3.0.M1(以及扩展 Spring 4.2.0.RC1)以及 Spring Cloud (配置服务器、eureka、ribbon、feign 和 zuul)。

我使用的是 gradle 构建,所以最初我使用的 dependencyManagement 插件是这样的:

dependencyManagement {
    imports {
        mavenBom "org.springframework.cloud:spring-cloud-starter-parent:1.0.3.BUILD-SNAPSHOT"
    }
}

但这意味着无论我尝试包含什么版本的 spring 启动,它都会被覆盖。

相反,我尝试手动包含云启动器在构建中包含的所有依赖项,并单独包含 spring boot 1.3.0.M1,但在服务器启动时导致:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'servoMetricCollector' defined in class path resource [org/springframework/cloud/netflix/servo/ServoMetricsAutoConfiguration.class]

如有任何建议,我们将不胜感激。

有一个 open issue 支持 Spring Boot 1.3.0。