我试图在这个'org.jopendocument:jOpenDocument:1.3b1‘中使用Gradle来获得以下错误:
此Gradle文件(1)因此错误而失败:
Error:(21, 0) Gradle DSL method not found: 'complie()'
Possible causes:
The project '' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper
file The build file may be missing a Gradle plugin.
Apply Gradle plugin分级文件(1)
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
..//
compile 'org.mariadb.jdbc:mariadb-java-client:1.1.7'
complie 'org.jopendocument:jOpenDocument:1.3b1'
}但是将这个添加到测试compile 'org.apache.felix:org.apache.felix.scr.annotations:1.9.12'中,它会运行得很好。
分级文件(2)
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
..//
compile 'org.mariadb.jdbc:mariadb-java-client:1.1.7'
//complie 'org.jopendocument:jOpenDocument:1.3b1'
compile 'org.apache.felix:org.apache.felix.scr.annotations:1.9.12'
}但是想要使用complie 'org.jopendocument:jOpenDocument:1.3b1',不起作用,我已经处理了:
但是这不管用,有人可以告诉我如果我做错了什么
http://mvnrepository.com/artifact/org.jopendocument/jOpenDocument/1.3b1 http://repo.gradle.org/gradle/repo/org/jopendocument/jOpenDocument/1.3/
发布于 2016-02-28 13:46:05
似乎是输入错误:您需要compile,但不需要complie。
一等舱文件中的那一行:complie 'org.jopendocument:jOpenDocument:1.3b1'
https://stackoverflow.com/questions/35683264
复制相似问题