When running a test that has previously run successfully but now groovyc
throws:
Information:Groovyc: While compiling tests of project.module.test:java.lang.NoClassDefFoundError: path.to.your.clas.User
at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
...
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
I have tried invalidating cache and restart, re-loading the groovy-all dependency and others to no avail.