Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails 3.2.4, IntelliJ 2016.3.4 there is a synthetic class generated for script code

All my integration test had that error message after upgrading from Grails 2.5.1 to 3.2.4. The upgrade includes moving the integration test from test/integration to src/integration-test. IntelliJ 2016.3.4 would not recognize the classes as test classes.

like image 206
Doris Gammenthaler Avatar asked Jan 04 '23 13:01

Doris Gammenthaler


1 Answers

In my case there was a groovy class with a method with excess closing brackets. I.e.:

class A {

   public void methodA() {
   }
 }
}

   public void methodB() {
   }
}

After removing double "}" my problem was solved.

like image 173
Simon Logic Avatar answered Jan 09 '23 18:01

Simon Logic