Michael Bell
Michael Bell
[service-otj-mvc-demo.zip](https://github.com/user-attachments/files/22937178/service-otj-mvc-demo.zip) Here is a very tiny repo. Will fail with java 25, succeed with java 21.
I think the issue is this. Around JDK 22 (?) you no longer have implicit annotation processing and must have something like ``` org.apache.maven.plugins maven-compiler-plugin 25 25 25 org.immutables value...
Another option is to use compilerArgs. This might be "friendlier" as a base, but isn't a security-oriented fix. This restores the original pre jdk 22 behavior. ``` -parameters -proc:full ```
@elucash I'm fine with you closing this, but maybe it needs docs somewhere?
Yeah sounds great. Basically the "best" is to explicitly list annotationProcessor. The "-proc:full" restores the old behavior but arguably they changed it for good if annoying reasons re: security.
Fwiw here's lomboks explanation https://projectlombok.org/setup/maven