2017-12-27 308 views
1

我試圖用彈性搜索5.4.1構建一個Spring Boot App(1.5.9.RELEASE),當我運行maven> install春季啓動+彈性數據彈性搜索+彈性搜索5.6.0

​​

我的pom.xml的是

<properties> 
    ... 
    <elasticsearch.version>5.4.1</elasticsearch.version> 
</properties> 
<repositories> 
    <repository> 
     <id>spring-libs-snapshot</id> 
     <name>Spring Snapshot Repository</name> 
     <url>http://repo.spring.io/libs-snapshot</url> 
    </repository> 
</repositories> 
<dependencies> 
    <dependency> 
     <groupId>org.springframework.data</groupId> 
     <artifactId>spring-data-elasticsearch</artifactId> 
     <version>3.0.0.RC2</version> 
    </dependency> 
    <dependency> 
     <groupId>org.springframework.data</groupId> 
     <artifactId>spring-data-elasticsearch</artifactId> 
    </dependency> 
    <dependency> 
     <groupId>org.elasticsearch.client</groupId> 
     <artifactId>transport</artifactId> 
     <version>5.1.1</version> 
    </dependency><dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-starter</artifactId> 
    </dependency><dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-starter-test</artifactId> 
     <scope>test</scope> 
    </dependency> 
    <dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-starter-web</artifactId> 
    </dependency> 

    <dependency> 
     <groupId>org.springframework.data</groupId> 
     <artifactId>spring-data-commons-core</artifactId> 
     <version>1.0.0.RELEASE</version> 
    </dependency> 

任何幫助將受到歡迎,謝謝!

回答