I'm trying to install Perf4J Integration Plugin for Grails.
I've added compile ":perf4j:0.1.1"
on my BuildConfig.groovy but when I try to refresh my dependencies I get:
Fatal error during compilation org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/home/me/Programs/test/target/work/plugins/perf4j-0.1.1/./Perf4jGrailsPlugin.groovy: 5: unable to resolve class org.perf4j.log4j.Log4JStopWatch
@ line 5, column 1.
import org.perf4j.log4j.Log4JStopWatch
^
/home/me/Programs/test/target/work/plugins/perf4j-0.1.1/./Perf4jGrailsPlugin.groovy: 2: unable to resolve class org.codehaus.groovy.grails.plugins.support.GrailsPluginUtils
@ line 2, column 1.
import org.codehaus.groovy.grails.plugins.support.GrailsPluginUtils
^
2 errors
(Use --stacktrace to see the full trace)
...
The second error is happens because GrailsPluginUtils has changed package from org.codehaus.groovy.grails.plugins.support
to org.codehaus.groovy.grails.plugins
. I've found a fixed version on the a Github fork.
But even when I try to compile the plugin sources downloaded from the Github repository linked above, I still get the org.perf4j.log4j.Log4JStopWatch
.
Does anyone has any idea how to solve it?