Problem scenario
You run a Maven command but you get this:
"Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.sun:tools:jar:1.8.0 at specified path /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jar:
You are running Ubuntu or Debian Linux. What should you do?
Solution
Run this: sudo apt install default-jdk