如何为grails 2.4.4配置javamelody?获取“不良的工件坐标”! [英] How to configure javamelody for grails 2.4.4? Getting "Bad artifact coordinates"!
问题描述
compile的依赖项:grails-melody:1.54.0'
但是我得到错误:
加载BuildConfig时出错:错误的工件坐标:grails-melody:1.54.0,预期格式为<的groupId>:其中的artifactId> [:其中扩展> [:其中分类>]]:其中版本>(使用--stacktrace查看完整跟踪)
我也尝试过编译grails-melody:grails-melody:1.54.0',但得到了错误:
解决错误获取依赖关系:无法找到工件grails-melody:grails-melody:jar:1.54.0
请提出解决方案。您必须将它添加到插件{}
块中(而不是将其添加到 plugins {}
块中 dependencies {}
)
As per grails javamelody plugin, I have added dependency of "compile ':grails-melody:1.54.0'"
But I get the error: There was an error loading the BuildConfig: Bad artifact coordinates :grails-melody:1.54.0, expected format is < groupId>:< artifactId>[:< extension>[:< classifier>]]:< version> (Use --stacktrace to see the full trace)
I also tried "compile 'grails-melody:grails-melody:1.54.0'" but got the error: Resolve error obtaining dependencies: Could not find artifact grails-melody:grails-melody:jar:1.54.0
Please suggest a solution.
you must add it to the plugins{}
block (and not to dependencies{}
)
这篇关于如何为grails 2.4.4配置javamelody?获取“不良的工件坐标”!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!