We Are Going To Discuss About module jdk.compiler does not “opens com.sun.tools.javac.processing” to unnamed module @4bae33a6. So lets Start this Java Article.
module jdk.compiler does not “opens com.sun.tools.javac.processing” to unnamed module @4bae33a6
- module jdk.compiler does not “opens com.sun.tools.javac.processing” to unnamed module @4bae33a6
I had same issue first check what Java version is used by maven by using
mvn -v
if it is set to Jdk 16 then you will have to update file below
/usr/local/Cellar/maven/{version}/bin/mvn
and set
JAVA_HOME:-$(/usr/libexec/java_home)
then you can confirm by running mvn -v again
Above steps have resolved the issue for me - “opens com.sun.tools.javac.processing” to unnamed module @4bae33a6
I had same issue first check what Java version is used by maven by using
mvn -v
if it is set to Jdk 16 then you will have to update file below
/usr/local/Cellar/maven/{version}/bin/mvn
and set
JAVA_HOME:-$(/usr/libexec/java_home)
then you can confirm by running mvn -v again
Above steps have resolved the issue for me
Solution 1
I had same issue first check what Java version is used by maven by using
mvn -v
if it is set to Jdk 16 then you will have to update file below
/usr/local/Cellar/maven/{version}/bin/mvn
and set
JAVA_HOME:-$(/usr/libexec/java_home)
then you can confirm by running mvn -v again
Above steps have resolved the issue for me
Original Author Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.