pom错误解决.txt 612 Bytes
1、jsonpath手动导入
pom定义如下:
<!-- https://mvnrepository.com/artifact/jsonpath/jsonpath -->
<dependency>
    <groupId>jsonpath</groupId>
    <artifactId>jsonpath</artifactId>
    <version>1.0</version>
</dependency>
pom中repositoy添加如下:
<repository>
    <id>pentaho-public</id>
    <url>https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/</url>
</repository>
如果无法获取,可能由于被墙了,则手动导入,控制台输入命令如下:
mvn install:install-file -DgroupId=jsonpath -DartifactId=jsonpath -Dversion=1.0 -Dpackaging=jar -Dfile=./jar/jsonpath-1.0.jar