0

I imported a java/maven project, it runs ok in IntelliJ, but eclipse gives me this error.

enter image description here

I have JDK 8, and I don't understand why it's looking for tools.jar in maven repository. enter image description here

I saw a similar question, but there the user is asking about java 11. https://stackoverflow.com/questions/63761785/pom-xml-marks-missing-artifact-com-suntoolsjar1-8-0

any ideas anyone?

Charbel
  • 14,187
  • 12
  • 44
  • 66
  • Try Right click on project->Maven -> Update Maven Dependencies and check the option for "Force Update of Snapshot/Releases". – P.Sanjay Dec 11 '20 at 12:26
  • @P.Sanjay I tried that multiple times, and a few others maven clean install etc .. No luck! – Charbel Dec 12 '20 at 21:30
  • Please check below answers if that can help https://stackoverflow.com/questions/8375423/missing-artifact-com-suntoolsjar https://stackoverflow.com/questions/51503460/could-not-find-artifact-com-suntoolsjar1-7 – P.Sanjay Dec 15 '20 at 16:04

0 Answers0