NoClassDefFoundError: CompilerConfiguration on Rebuild/Make

When I do a Rebuild/Make Project or Make Module I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilerConfiguration.

"Run" works fine (runs grails run-app) as long as I don't have Make selected in the Run configuration. Am I doing something wrong?

Thanks,

0
8 comments
Avatar
Permanently deleted user

Could you please post a screenshot of your module dependencies in Project Settings, Dependencies tab?

0

Sure thing, here you go.



Attachment(s):
md.jpg
0
Avatar
Permanently deleted user

Does removing unnecessary "GROOVY" library reference help?

0

No. (see attached). FYI - This is not a high priority for me since Run works fine. I'd rather have the breakpoints working.

Thanks,



Attachment(s):
md2.jpg
0

whoops, ignore the pic from the previous post. same problem with only GRAILS (no GROOVY) as a dependency



Attachment(s):
md3.jpg
0

I had the same problem ... I think you were on the right track ... My problem was that I had changed where I installed both groovy and grails on my drives ... so I had to make sure that under - project settings --> modules (on the right is the "Facet" panel ) with "Configure Groovy/Grails" button. I used this to change my Groovy and Grails installation directory settings. Not sure if this is your issue.

good luck

-beau

0

Thanks Beaumont, that solved my problem.

0

Eric, I think it's because of problems with Groovy classloaders and because of we run our GroovyCompiler in separate process. Try last release, it seems like we fixed this issue.

0

Please sign in to leave a comment.