How to configure javamelody for grails 2.4.4? Getting “Bad artifact coordinates”!

孤街醉人 提交于 2019-12-11 11:47:57

问题


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.


回答1:


you must add it to the plugins{} block (and not to dependencies{})



来源:https://stackoverflow.com/questions/28063525/how-to-configure-javamelody-for-grails-2-4-4-getting-bad-artifact-coordinates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!