Javadoc “cannot find symbol” error when using Lombok’s @Builder annotation

Lombok is actually capable of filling out a partially defined builder class, so you can declare enough of the builder to make Javadoc happy and leave it at that. No need to delombok. The following worked for me in this situation: @Data @Builder public class Foo { private String param; // Add this line and … Read more

JDK8 – Error “class file for javax.interceptor.InterceptorBinding not found” when trying to generate javadoc using Maven javadoc plugin

This appears to be due to javax.transaction.Transactional (or any other class in your classpath for that matter) being itself annotated with javax.interceptor.InterceptorBinding, which is missing in classpath unless explicitly declared in dependencies: @Inherited @InterceptorBinding // <– this ONE is causing troubles @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(value = RetentionPolicy.RUNTIME) public @interface Transactional { Said that: javax.transaction.Transactional – comes … Read more