I have a POJO with lombok builder annotation on it. My project creates a fat-jar to deploy in a workflow orchestrated by apache airflow, executed as a flink job.
Deployment works fine, while running i get a noclassdeffounderror on the lombok builder call.
java.lang.NoClassDefFoundError: com.Pojo$PojoBuilder
at com.Pojo.builder(Pojo.java:10)
I checked the decompiled fat-jar on my machine and the pojo class has the builder. Any idea what may be causing this issue?
May not be able to share exact code due to corp rules.