micronaut-maven-plugin icon indicating copy to clipboard operation
micronaut-maven-plugin copied to clipboard

Plugin Broken with Micronaut 4.8.2 and Intellij compiler

Open graemerocher opened this issue 10 months ago • 0 comments

Error:

java: java.lang.NoSuchMethodError: Micronaut method io.micronaut.core.reflect.InstantiationUtils.instantiateReflectively(Class,Class[],Object[]) not found. Most likely reason for this issue is that you are running a newer version of Micronaut with code compiled against an older version. Please recompile the offending classes

Looks like IntelliJ doesn't produce the correct class path in compiler.xml. Probably it doesn't honour the dependency management of annotation processor class path.

graemerocher avatar Jun 09 '25 16:06 graemerocher