我有一个settings.xml和一个包含所有依赖项的JFrog应用程序。
当我从cmd行运行:mvn clean install时,我获得了错误:
[ERROR] Failed to execute goal on project karate-demo: Could not resolve dependencies for project com.intuit.karate:karate-demo:jar:0.9.6: Failed to collect dependencies at org.springf
ramework.boot:spring-boot-starter-websocket:jar:1.5.16.RELEASE -> org.springframework.boot:spring-boot-starter-web:jar:1.5.16.RELEASE -> org.hibernate:hibernate-validator:jar:5.3.6.Fin
al: Failed to read artifact descriptor for org.hibernate:hibernate-validator:jar:5.3.6.Final: Could not transfer artifact org.jboss.shrinkwrap:shrinkwrap-bom:pom:1.2.3 from/to public_l
ocal (https://aorgartifactoryxxxx/artifactory/mvn-public-local): authentication failed for https://orgartifactoryxxxx/artifactory/mvn-public-local/org/jboss/shrinkwrap
/shrinkwrap-bom/1.2.3/shrinkwrap-bom-1.2.3.pom, status: 401 Unauthorized -> [Help 1]发布于 2022-03-16 11:31:19
未能读取HTTP401返回的工件描述符表示存在身份验证问题。请重新验证用于Artifactory存储库的settings.xml中使用的凭据是否正确。为了排除使用API密钥或加密密码的问题,尝试在本地settings.xml文件中使用纯文本密码一次。
https://stackoverflow.com/questions/71481458
复制相似问题