How to solve the Missing artifact jdk.tools:jdk.tools:jar:1.6 problem
This article introduces the relevant knowledge of "how to solve the Missing artifact jdk.tools:jdk.tools:jar:1.6 problem". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Question:
Missing artifact jdk.tools:jdk.tools:jar:1.6
Missing artifact jdk.tools:jdk.tools:jar:1.7
Jdk.tools
Jdk.tools
1.6
System
${JAVA_HOME} / lib/tools.jar
one
two
three
four
five
six
seven
eight
Solution 1:
Step 1: install jdk and jre [separately] when installing java
(this is very important, which is basically caused by this problem.)
Step 2:
Project-> right click-> Maven- > Update Project
Solution 2:
If the package is missing, put the following package in the same path of Java
E:\ Java\ java1.8\ jdk1.8.0_77\ lib\ tools.jar
This is the end of "how to solve the Missing artifact jdk.tools:jdk.tools:jar:1.6 problem". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!