I was using Chronicle Queue in a project that does not have Lombok. Everything was okey. Then I tried to use same Maven dependency in a project that have Lombok dependency. But it crashed this time. I see the below error in my all Lombok Getter and Setter annotations.
The package java.lang is accessible from more than one module: <unnamed>, java.base
I can run the project. But Eclipse shows red warning in classes that use Lombok annotations. Here is my Chronicle Queue dependency.
<!-- https://mvnrepository.com/artifact/net.openhft/chronicle-queue -->
<dependency>
<groupId>net.openhft</groupId>
<artifactId>chronicle-queue</artifactId>
<version>5.17.22</version>
</dependency>
Any idea about solution? Thanks.