2017-03-08 87 views
0

由于依赖关系,我需要使用Spring Boot 1.2.8,并且由于Spring云Brixton版本无法正常工作,因为它正在寻找一个名为Mode的类下名为Mode的Enum 。我读到Angel系列在1.2.8中运行良好,但不幸的是,这在春季云存储库https://repo.spring.io/milestone中不可用。有没有办法让Angel.SR系列支持boot 1.2.8?还是有其他建议?Spring Boot 1.2.8与Spring云

感谢很多

回答

0

只有天使版本春云与春天引导1.2.x的

+0

有没有什么办法让天使?我需要一个项目的弹簧启动1.2.8。但是当试图从存储库访问时,似乎1./.8不可用。还有一个问题,我希望任何Anger.sr版本可以与Spring boot 1.2.8一起使用,这是真的吗? –

0

工作我能解决我所面临的问题。问题是,我无法在Spring boot 1.2.8中使用Spring云Eureka。由于依赖性,我需要使用此版本。所以我能够解决使用下面的依赖。

<dependencyManagement> 
    <dependencies> 
     <dependency> 
      <groupId>org.springframework.cloud</groupId> 
      <artifactId>spring-cloud-netflix</artifactId> 
      <version>1.0.5.RELEASE</version> 
      <type>pom</type> 
      <scope>import</scope> 
     </dependency> 
    </dependencies> 
</dependencyManagement> 

<repositories> 
<repository> 
     <id>spring-milestones</id> 
     <name>Spring Milestones</name> 
     <url>http://repo.spring.io/libs-milestone</url> 
     <snapshots> 
      <enabled>false</enabled> 
     </snapshots> 
</repository> 


<dependencies> 
<dependency> 
    <groupId>org.springframework.cloud</groupId> 
    <artifactId>spring-cloud-starter-config</artifactId> 
</dependency> 
<dependency> 
    <groupId>org.springframework.cloud</groupId> 
    <artifactId>spring-cloud-starter-eureka</artifactId> 
</dependency> 
<dependency> 
    <groupId>org.springframework.cloud</groupId> 
    <artifactId>spring-cloud-starter-eureka-server</artifactId> 
</dependency> 

Thank you very much for the help.. And appreciated.