I GET THE ERROR MESSAGE : cannot access class com.sun.tools.javac.tree.TreeScanner (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x71f0e87f
Follow this path Preferences | Build, Execution, Deployment | Build Tools | Gradle