gpt4 book ai didi

Grails 安装插件 rest-client-builder 1.0.2 时出错,模块描述符错误

转载 作者:行者123 更新时间:2023-12-04 18:11:15 26 4
gpt4 key购买 nike

使用 Grails 2.0.4,我正在尝试安装 rest-client-builder:1.0.2使用这个...

grails install-plugin rest-client-builder

...但 Grails 返回以下错误;我已经尝试过清理、刷新依赖项等,不断收到同样的错误......
:: #rest-client-builder;1.0.2: java.text.ParseException: inconsistent module descriptor file found in 'http://plugins.grails.org/grails-rest-client-builder/tags/RELEASE_1_0_2/rest-client-builder-1.0.2.pom': bad organisation: expected='' found='org.grails.plugins'; 

还尝试将插件链接为来自 BuildConfig.groovy 的依赖项,但我得到一个类似的错误......
compile (":rest-client-builder:1.0.2"){ export = false}

grailsCentral: bad organisation found in http://plugins.grails.org/grails-rest-client-builder/tags/RELEASE_1_0_2/rest-client-builder-1.0.2.pom: expected='' found='org.grails.plugins'

最佳答案

看起来你把它放在 dependencies部分,但它应该在 plugins部分:

plugins {
compile(':rest-client-builder:1.0.2') {
export = false
}
}

您应该删除仍在 application.properties 中的插件。该 install-plugin脚本添加并仅将它们放在 BuildConfig.groovy 中.

关于Grails 安装插件 rest-client-builder 1.0.2 时出错,模块描述符错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13591301/

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