Lombok: [BUG] RuntimeException>ClassNotFoundException "lombok.javac.handlers.HandleLog$HandleCustomLog"

Created on 15 Oct 2019  路  4Comments  路  Source: projectlombok/lombok

Describe the bug
Lombok refusing to run when compiling, this is the only warning I receive:
grafik

To Reproduce
The errror consists in this project, basically just from basic setup.
https://github.com/codebottle-io/codebottle-java

Expected behavior
no warning showing up lmao

Version info (please complete the following information):
Using IntelliJ 2019.1 and Gradle with the following imports:

    // Lombok
    compileOnly 'org.projectlombok:lombok:1.18.10'
    annotationProcessor 'org.projectlombok:lombok:1.18.8'

Annotation processing indeed is enabled in IntelliJ.

parked

Most helpful comment

This may be related to the idea plugin and/or the fact that CustomLog is rather new. Normally, such errors come from having two different versions of a library on the class path.

All I (just a random guy here) can recommend is to try to upgrade the plugin and/or downgrade Lombok. Or search the plugin issues.

All 4 comments

This may be related to the idea plugin and/or the fact that CustomLog is rather new. Normally, such errors come from having two different versions of a library on the class path.

All I (just a random guy here) can recommend is to try to upgrade the plugin and/or downgrade Lombok. Or search the plugin issues.

I had the the same issue @Maaartinus is correct

I had an old dependency upon 1.18.8 within my ~/.gradle cache so manually removed it, now everything works

@burdoto Did the suggestions from @Maaartinus and @kushal256 help you solve the problem?

I've noticed that I've been depending on two different minor versions of Lombok:
grafik

Resolving this solved the problem.

Was this page helpful?
0 / 5 - 0 ratings