springboot下载ai的pom
比如:想使用本地ollama(报错:依赖找不到)
解决:
<!-- 因为maven暂时下载不了SpringAIOllama依赖,引用Spring快照依赖包 -->
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
标签:false,springboot,ai,spring,repo,https,使用
From: https://www.cnblogs.com/chen-zhou1027/p/18508889