我正在尝试通过休息电话重新开始一个新项目。
我下载了'http-builder-helper'https://github.com/bobbywarner/grails-http-builder-helper,然后尝试了命令'grails install',我得到了这个错误:
Task 'install' is ambiguous in root project 'http-builder-helper'
| Grails版本:3.0.9
| JVM版本:1.7.0_79
最佳答案
将此添加到您的依赖项:
compile "org.grails.plugins:grails-http-builder-helper:1.0.0"
如果它不起作用,请为bintray添加Maven repo,如下所示:
repositories { maven { url "http://dl.bintray.com/bobbywarner/grails-plugins" } }
您可以查看this issue以获取更多信息。
如果您的选项已打开,则可以基于spring rest模板尝试rest client。要将其添加到您的应用程序中,请使用
Compile "org.grails:grails-datastore-rest-client:4.0.7.RELEASE"
关于rest - Grails安装REST客户端插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33815908/