Maven error: Could not find artifact jdk.tools [How to Solve]

How to Solve Maven error: Could not find artifact jdk.tools

Solution:

export JAVA_HOME=/your/java/home/
Then execute the maven command

Read More: