Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1.16.2 Wrong class loader used to load "lombok.javac.apt.Processor" #826
Expected to build the project successfully
lombok-1.16.2.jar.sha1 - abcc131bb227dcdd30437ee1cc164579767b03b4
I see in debugger this piece of code (in lombok.core.AnnotationProcessor$JavacDescriptor). It fails to find class "lombok.javac.apt.Processor":
I think the problem is that "classLoader" here is not ShadowClassLoader, so it cannot find lombok.javac.apt.Processor.SCL.lombok class file.
I have experienced the same problem with version 1.16.4
Some more details
But the funny thing is that it appears only in some projects, while others work just fine. I am reverting version to 1.14.8. Good luck hunting this bug down!
referenced this issue
Sep 25, 2015
I tried but sounds the same
By chance I experienced the same error. NetBeans created my "Maven -> Java Application" project with a pom.xml that used the maven-compiler-plugin version 2.3.2. After updating that version number to the current 3.5.1 it compiled fine. I use JDK 1.8.0_72 with Maven 3.3.9 and NetBeans 8.1.