I have a java project with the following directory structure (as required by Gradle\'s \'java\' plugin, assuming all defaults).
\'java\'
projectRootDir
In my case, the problem was faustinoaq.javac-linter extension. I uninstall the linter extension and everything works.
faustinoaq.javac-linter