I've been refactoring a Spring3-based project to Spring5 and hit a bizarre situation where suddenly all of the lombok-related code was not getting generated. e.g.
@Slf4j
public class MyClass {
...
log.info("something");
would throw up this error
cannot find symbol
symbol: variable log
location: MyClass
IntelliJ IDEA also started failing to do just about anything correctly. Maven refreshes, cleans, or standard IDE builds would just throw errors on lines where there was clearly nothing wrong.
As I had recently done a large-scale structured find and replace and multiple refactoring operations, I couldn't tell what I'd done which had broken it.