I recently came across a problem runing my grails test-app in Intellij IDEA. I was using version 9.0 and everything seemed to work fine before but when I upgraded to 9.0.2 my test-app target stopped working. This is what I found.
The error that was being thrown was looked like a class could not be found in the integration between grails and intellij.
...
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.groovy.grails.tests.GrailsIdeaTestListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
...
To fix the problem you need to click the add class path check box. As shown in the picture.
Everything seems to work again. Good news now back to the fun work.

This will be fixed in the next 9.0.2 EAP
ReplyDelete