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
![](https://ticksy_attachments.s3.amazonaws.com/9980128230.png)
![](https://ticksy_attachments.s3.amazonaws.com/6991716193.png)
![](https://ticksy_attachments.s3.amazonaws.com/6230327930.png)
![](https://ticksy_attachments.s3.amazonaws.com/2857523594.png)