lombok issue on intellij

Jackie
Nov 13, 2020

--

When I am trying to run the project from intellij, it’s keep complaining

java.lang.classnotfoundexception: lombok.javac.handlers.handlelog$handlecustomlog

Even though I can see the variable, example, log, is generated in the class.

Turns out this is due to the buggy maven plugin (the internal repo’s cacerts not trusted), which has put two lombok plugins in the path:

To clear the duplicate, there are two places to remove the duplicate:

  • the dependencies in the specific module
  • the libraries

--

--

No responses yet