Cannot run Grails unit test in Maia #10781
Hi,
I am using Maia #10781 and try to run a Grails unit test directly in IDEA. IDEA gives me a lot of error messages about classes that it does not find.
Please see the screencast I have created for you at http://www.splendicon.net/idea/CannotRunGrailsUnitTest.mov
What can I do about this?
Cheers,
Matthias
Please sign in to leave a comment.
Does anybody have an idea?
Cheers
Matthias
We've fixed a similar problem lately, so please wait for the next EAP.
Right now, you could try explicitly compiling the Conference class (and
the others which cause problems), this could help.
I've had the same error. I think I fixed the problem by clearing IDEA's cache.
I still have problems when running unit tests though, as dependent classes are not being recompiled, and I find no way to compile them except visiting each one of them and hitting compile. Most often the Build-menu has greyed out menu elements for "Make Project", "Make module x" and "Rebuild Project". Only accessible element is "Compile x" (where x is current class).
(using #10666)
Attachment(s):
Screen shot 2009-10-13 at 1.02.48 PM.png