I have following dependency in pom.xml:
org.projectlombok
lombok
I always managed to resolve this issue with numerous old projects using older version of Lombok by simply upgrading the Lombok version
With this upgrade of Lombok; for projects with heavy memory during test running phases I have also had to start specifying memory configurations for maven-surefire-plugin which generally seems to now need more memory to avoid Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
errors
See below for example working pom.xml configs
...
1.18.2
...
...
org.projectlombok
lombok
${lombok.version}
provided
...
...
org.apache.maven.plugins
maven-surefire-plugin
-Xmx1024m -XX:MaxPermSize=256m
...