maven中报错“Missing artifact jdk.tools:jdk.tools:jar:1.8”

    xiaoxiao2021-03-25  82

    解决方案:在pom.xml文件中添加如下代码:

    <dependency>             <groupId>jdk.tools</groupId>             <artifactId>jdk.tools</artifactId>             <version>1.8</version>             <scope>system</scope>             <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>     </dependency>

    转载请注明原文地址: https://ju.6miu.com/read-16038.html

    最新回复(0)