JFrog Artifactory 上的 jarfile 缓存 json 错误 503,但 jar 存在于远程存储库 Bintray
cached json error 503 for jarfile on JFrog Artifactory, but jar exists on remote repository Bintray
为什么我的本地神器服务器正在为一个 jar 文件缓存这个? (Artifactory 版本 4.2.0)
{
"errors" : [ {
"status" : 503,
"message" : "Error fetching http://jcenter.bintray.com/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar (remote response: 503: Service Unavailable)"
} ]
}
如果远程仓库有jarhere,如何让maven重新下载jar文件?
当我检查 Artifactory 时,缓存告诉我它很久以前就下载了 jar 文件,这让我相信它缓存了一个不存在的 jar 版本。
为什么我的 Maven 构建失败 Error 503
并告诉我找不到这个 4.0.7 jarfile?
[INFO] ------------------------------------------------------------------------
[INFO] Building xyz Management Framework DAL DSL Codegen 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://artifactory.int.fusionio.com:8081/artifactory/repo/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.057s
[INFO] Finished at: Fri Jan 22 11:23:42 MST 2016
[INFO] Final Memory: 13M/481M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sndk-jmx-dal-dsl-codegen: Could not resolve dependencies for project com.xyz.jmxsrv.service:sndk-jmx-dal-dsl-codegen:jar:1.1-SNAPSHOT: Could not transfer artifact com.querydsl:querydsl-sql:jar:4.0.7 from/to repo (http://artifactory.int.fusionio.com:8081/artifactory/repo): Failed to transfer file: http://artifactory.int.fusionio.com:8081/artifactory/repo/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar. Return code is: 503 -> [Help 1]
Artifactory 缓存来自远程存储库的错误以加快构建速度(如果远程服务器宕机,我们假设它会再宕机五分钟)。这些缓存可以被清除(当然它们会在 5 分钟后失效)。
如果您想在此期间重新运行构建,请以管理员身份登录,在“工件”选项卡中右键单击 jcenter-cache
存储库的根目录,select "Zap Caches" 并重新运行构建。
或者在 5 分钟后重新运行构建。
为什么我的本地神器服务器正在为一个 jar 文件缓存这个? (Artifactory 版本 4.2.0)
{
"errors" : [ {
"status" : 503,
"message" : "Error fetching http://jcenter.bintray.com/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar (remote response: 503: Service Unavailable)"
} ]
}
如果远程仓库有jarhere,如何让maven重新下载jar文件?
当我检查 Artifactory 时,缓存告诉我它很久以前就下载了 jar 文件,这让我相信它缓存了一个不存在的 jar 版本。
为什么我的 Maven 构建失败 Error 503
并告诉我找不到这个 4.0.7 jarfile?
[INFO] ------------------------------------------------------------------------
[INFO] Building xyz Management Framework DAL DSL Codegen 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://artifactory.int.fusionio.com:8081/artifactory/repo/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.057s
[INFO] Finished at: Fri Jan 22 11:23:42 MST 2016
[INFO] Final Memory: 13M/481M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sndk-jmx-dal-dsl-codegen: Could not resolve dependencies for project com.xyz.jmxsrv.service:sndk-jmx-dal-dsl-codegen:jar:1.1-SNAPSHOT: Could not transfer artifact com.querydsl:querydsl-sql:jar:4.0.7 from/to repo (http://artifactory.int.fusionio.com:8081/artifactory/repo): Failed to transfer file: http://artifactory.int.fusionio.com:8081/artifactory/repo/com/querydsl/querydsl-sql/4.0.7/querydsl-sql-4.0.7.jar. Return code is: 503 -> [Help 1]
Artifactory 缓存来自远程存储库的错误以加快构建速度(如果远程服务器宕机,我们假设它会再宕机五分钟)。这些缓存可以被清除(当然它们会在 5 分钟后失效)。
如果您想在此期间重新运行构建,请以管理员身份登录,在“工件”选项卡中右键单击 jcenter-cache
存储库的根目录,select "Zap Caches" 并重新运行构建。
或者在 5 分钟后重新运行构建。