当我用Maven清理项目时,它会提醒您在处理POM时遇到了一些问题:

时间:2019-09-29 02:57:51

标签: java maven pom.xml

昨晚之前,我从未遇到过错误。

[ERROR] Some problems were encountered while processing the POMs:
'dependencies.dependency.systemPath' for jdk.tools:jdk.tools:jar must specify an absolute path but is ${JAVA_HOME}/lib/tools.jar @ com.vipkid.ycb:fin-ycb-schedule:1.0.0-SNAPSHOT, /Users/xuyang/vipkid/fin-ycb-schedule/pom.xml, line 57, column 25

pom文件在下面是红色的

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

我重置了行家,但是working ERROR

0 个答案:

没有答案