首页 > 解决方案 > 找不到 org.springframework.boot:spring-boot-starter-cloud-connectors

问题描述

我用的是spring boot版本:2.4.9

下面是我的 build.gradle 文件

compile "org.springframework.boot:spring-boot-starter-webflux"
compile "org.springframework.boot:spring-boot-starter-data-jpa"
compile "org.springframework.boot:spring-boot-starter-undertow"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-cloud-connectors"

当我构建项目时收到如下错误消息:

任务 ':compileJava' 执行失败。

无法解析配置“:compileClasspath”的所有文件。找不到 org.springframework.boot:spring-boot-starter-cloud-connectors:。要求:项目:

标签: javaspringspring-bootmavengradle

解决方案


推荐阅读