How to configure javamelody for grails 2.4.4? Gett

2019-08-12 12:50发布

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条回答
ゆ 、 Hurt°
2楼-- · 2019-08-12 13:15

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

查看更多
登录 后发表回答