简体   繁体   中英

spring-data-jdbc dependency won't work on pom.xml

I'm following this guide spring-data-jdbc-ext

and i'm trying to set this dependency on my pom.xml

<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jdbc</artifactId> <version>1.0.0.M2</version> </dependency>

but i ended up on this error

No such file or directory found on the repository using this maven dependency (provided on the quick start guide).

I'm using Maven version 4.0.0

Add this repository to your pom:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM