作者:php.net | 来源:互联网 | 2023-01-08 16:13
尝试在IntelliJ IDEA中打开Corda演示,并在尝试导入gradle设置时收到此错误
错误:找不到org.jetbrains.kotlin:kotlin-gradle-plugins:1.1.4.在以下位置搜索:file:/ C:/Users/Default/.m2/repository/org/jetbrains/kotlin/kotlin-gradle-plugins/1.1.4/kotlin-gradle-plugins-1.1.4.pom文件: /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
要求:项目:
我找不到任何文件来建议如何解决这个问题,任何想法?
1> hotkey..:
构建脚本中似乎存在拼写错误:工件的正确名称是kotlin-gradle-plugin
(不s
).
检查你的依赖声明build.gradle
:
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:..."
它在这里的文档中描述:使用Gradle