I have a maven project that I am attempting to convert to Gradle.
The project has a mixture of Groovy and Java files, and is composed of 55 sub-projects.
About two thirds of the way through the sub-projects, the Groovy Compiler fails with the following stacktrace.
I have seen this error in other posts on the net, but they always refer to classes that are in jar files that should be included as dependencies. The class that this error is referring to is an interface in my code base.
What am I missing? The code compiles clean under Maven.
Caused by: java.lang.NoClassDefFoundError: Lorg/oclc/cataloging/service/record/RecordLockChecker;
at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:119)
at org.gradle.api.internal.tasks.compile.ApiGroovyCompiler.execute(ApiGroovyCompiler.java:40)
at org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonServer.execute(CompilerDaemonServer.java:53)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) Caused by: java.lang.ClassNotFoundException: org.oclc.cataloging.service.record.RecordLockChecker
at org.gradle.internal.classloader.TransformingClassLoader.findClass(TransformingClassLoader.java:41)
… 7 more