我正在遵循本指南 spring-data-jdbc-ext
我正尝试在我的 pom.xml 上设置此依赖项
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jdbc</artifactId>
<version>1.0.0.M2</version>
</dependency>
但我最终遇到了这个错误
No such file or directory found on the repository using this maven dependency (provided on the quick start guide).
我正在使用 Maven 版本 4.0.0
最佳答案
将此存储库添加到您的 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>
关于java - spring-data-jdbc 依赖项不适用于 pom.xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50051455/