Today We are Going To Solve unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl) in Java. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.
Contents
- How to Fix unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl) Error?
To Fix unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl) Error just Update your gradle jdk in AS Arctic Fox. First update your gradle jdk in AS Arctic Fox:
Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK
Now just Select 11 and build. It will help you. - unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)
To Fix unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl) Error just Update the container's JDK version. To solve this error just update the container's JDK version to openjdk-11
Solution 1 : Update your gradle jdk in AS Arctic Fox
First update your gradle jdk in AS Arctic Fox:
Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK
Now just Select 11 and build. It will help you.
Solution 2 : Update the container’s JDK version
To solve this error just update the container’s JDK version to openjdk-11
Conclusion
So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.
Also Read These Solutions
- ERROR: JAVA_HOME is set to an invalid directory
- ndledPromiseRejectionWarning: This error originated either by throwing inside of an async function without a catch block
- Error: PostCSS plugin tailwindcss requires PostCSS 8
- ERROR: Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_151 contains a valid JDK installation
- java.lang.IllegalArgumentException: Malformed \uxxxx encoding