gpt4 book ai didi

intellij-idea - IntelliJ IDEA - 找不到 org.jetbrains.kotlin :kotlin-gradle-plugins

转载 作者:行者123 更新时间:2023-12-05 00:14:17 25 4
gpt4 key购买 nike

尝试在 IntelliJ IDEA 中打开 Corda 演示并在尝试导入 gradle 设置时收到此错误

Error:Could not find org.jetbrains.kotlin:kotlin-gradle-plugins:1.1.4. Searched in the following locations: file:/C:/Users/Default/.m2/repository/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.pom file:/C:/Users/Default/.m2/repository/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.jar https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.pom https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.jar https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.pom https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.jar Required by: project :



我找不到任何文档来建议如何解决这个问题,有什么想法吗?

最佳答案

构建脚本中似乎有一个错字:工件的正确名称是 kotlin-gradle-plugin (没有 s )。

检查您的 build.gradle 中的依赖项声明:

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:..."

此处的文档中对此进行了描述: Using Gradle

关于intellij-idea - IntelliJ IDEA - 找不到 org.jetbrains.kotlin :kotlin-gradle-plugins,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47330082/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com