Skip to content

Fix: Support Lombok with Java 25 #455

@vita-kotacka

Description

@vita-kotacka

Task specification

Lombok 1.18.x relies on implicit annotation processor discovery which is broken on Java 25 — the logger field (and other generated members) are not visible to javac:

cannot find symbol
  symbol: variable logger

Affects local development on Java 25 (any vendor). CI uses Java 21 and is unaffected.

Root cause: Starting with JDK 23, the default annotation processing policy changed to none.

Fix: Explicitly register Lombok via annotationProcessorPaths in the root pom.xml's maven-compiler-plugin configuration.

See: wultra/enrollment-server#1781 for the same fix applied to enrollment-server.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions