In the pom.xml for a java project, I get missing artifact jdk.tools:jdk.tools:jar:1.6 error

后端 未结 7 886
执念已碎
执念已碎 2021-02-05 05:20

I think I know how to solve the problem except: I don\'t know where in the pom the specific version is referred to (I do not see it explicitly) and the solution I have seen is t

7条回答
  •  余生分开走
    2021-02-05 06:23

    As I figured the best way to tackle this is to add the following configuration to your eclipse.ini to make sure it uses the jdk copy of javaw while running eclipse instead of the JRE copy which solves the problem and seems to be the correct approach to fix the issue

    -vm
    C:/Program Files/Java/jdk1.8.0_73/bin/javaw.exe
    

提交回复
热议问题