dependecy not found: openfeign



我得到错误:在中心找不到工件org.springframework.cloud:spring-cloud-openfac:pom:unknown(https://repo.maven.apache.org/maven2)

这是我的pom.xml

<?xml version="1.0" encoding="UTF-8"?>

4.0.0org.springframework.boot弹簧引导启动器父级2.4.0privas.microsoftservice销售车0.0.1快照销售车Spring Boot 的演示项目

<properties>
<java.version>15</java.version>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.source>${java.version}</maven.compiler.source>
<spring-cloud.version>Hoxton.SR8</spring-cloud.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-openfeign</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
如果需要这些信息,它就是一个模块项目。有人知道为什么maven找不到openfack吗?它也不适用于任何其他spring-cloud依赖项

org.springframework.cloud有两个包:

  • spring-cloud-starter-openfeign
  • spring-cloud-openfeign-core

但不是spring-cloud-openfeign

相关内容

  • 没有找到相关文章

最新更新