1

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

Yaje
  • 2,753
  • 18
  • 32
  • this artifact is not available on maven central. You need to add Spring repository to get this artifact. – lohnns Apr 26 '18 at 20:44
  • Please note that Spring Data JDBC (https://projects.spring.io/spring-data-jdbc/) and Spring Data JDBC Extensions are two different projects. – Jens Schauder Apr 30 '18 at 05:30

1 Answers1

3

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>
George Aristy
  • 1,373
  • 15
  • 17