IDEA JetBrains IntelliJ – Compile error on ‘make’ but fine when compiled using Maven and no errors reported by IntelliJ in the class file May 19, 2023 by Tarik I found out that this might help: File -> Invalidate Caches