Closed rvargas closed 8 years ago
I was not able to reproduce this error. I did a fresh install of Grails 2.5.5 on my Ubuntu system with Java 1.8. Then I ran into this problem (module not found: org.codehaus.groovy#groovy-all;2.4.4):
https://github.com/grails/grails-core/issues/10011
So I installed Grails 2.5.4 first. I setup a very simple sample Grails app and added the CodeNarc plugin, and created some code with violations. Then I ran grails codenarc
. That worked. Then I switched to Grails 2.5.5, and created a sample app with violations and ran grails codenarc
. That worked, too.
Your stacktrace looks like some kind of Grails classpath/dependency issue. Are you able to try with different a Grails version?
I think I found my error, I called my ruleset file Codenarc.groovy. Or this can't be related?
I'm not sure, but that could very well match up with that error stacktrace. I suggest renaming your ruleset something else.
Thanks! I'll close this issue.
I get this error in Grails 2.5.5 using Codenarc 0.25.2:
Any help?