I haven't seen that but there is a strange bug in javac itself
regarding symbol linking in annotation declarations which lombok can
aggravate. We HAVE seen this:
public @interface Foo {
SomeEnumType foo() default SomeEnumType.BAR;
}
failing to compile. The workaround for that scenario is to make one of
those 2 fully qualified (add package names). However, that suggests
the problem is that pre-resolution, some symbol tables are being mixed
up. The notion that ProcessingStrategy and DefaultImplStrategy are
related to each other in the type hierarchy is a post-resolution
issue, so I'm not sure these two problems are related. Also, this
particular problem (with the enums, as listed above) is purely a javac
issue and will hence trigger whether you use javac yourself or have
maven invoke it for you.
One thing you can try, though I doubt it'll work, is to fqn (add the
package name) to one or both of those classes. One thing that is
rather confusing to me is that the compiler error turns "Class" into
"java.lang.Class" but failed to do so for DefaultImplStrategy and
ProcessingStrategy, so, definitely try it. Let me know if that doesn't
work.