Steps to reproduce: - disable Gradle For Java - import the [spring-security](https://github.com/spring-projects/spring-security) project You will see errors related to the AspectJ files (*.aj) in the spring-security-aspects module.