失败:生成失败,发生异常。
构建文件'/home/atapare/git/dvh/modules/mdvh/build.gradle'行:2
评估项目':modules:mdvh'时发生问题。
No signature of method: build_16j80bhfkqt2bfhcii98quk3mb$_run_closure1.id() is applicable for argument types: (java.lang.String) values: [fi.jasoft.plugin.vaadin] Possible solutions: is(java.lang.Object), is(java.lang.Object), find(), find(), find(groovy.lang.Closure), find(groovy.lang.Closure)
使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。
注意:对于无法使用eclipse进行构建的终端,它运行良好。
我已经安装了gradle 2和vaadin 7插件。
最佳答案
要使用新的插件语法,您将需要Gradle 2.1及更高版本。
您还使用的是Pivotals Gradle插件,默认情况下具有旧版本的Gradle。该Gradle eclipse插件将不再维护,您应该卸载它。
而是通过Eclipse Buildship Project安装Build Ship Gradle Integration 1.0。它具有最好的gradle支持,并由Gradle社区直接支持。
关于java - Gradle和vaadin构建错误在Eclipse中失败,但在终端上工作正常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34813300/