【问题标题】:Could not find com.github.everit-org.json-schema:org.everit.json.schema找不到 com.github.everit-org.json-schema:org.everit.json.schema
【发布时间】:2021-12-04 16:07:33
【问题描述】:

我正在尝试在我的 build.gradle 中添加下面的 dep 并添加了下面的 repos,但它仍然无法下载 dep。

repositories {
        maven {
            url 'http://packages.confluent.io/maven/'
        }
        maven {
            url "https://repository.mulesoft.org/nexus/content/repositories/public/"
        }

        maven { url 'https://jitpack.io' }
        jcenter()
        mavenCentral()
        mavenLocal()
    }

以下是我得到的错误:

> Could not find com.github.everit-org.json-schema:org.everit.json.schema:.
  Required by:
      project :<my-project-module-name>

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

【问题讨论】:

    标签: gradle build.gradle


    【解决方案1】:

    这是我的错误,我在定义 gradle 依赖项时添加了一个额外的冒号。所以,删除它后它工作了。

    【讨论】:

      猜你喜欢
      • 2022-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-12
      • 1970-01-01
      相关资源
      最近更新 更多