当我试图构建我的项目if (response.history): # we have to add to the cookie jar, the cookies sent by the server in intermediate responses
for historicResponse in response.history:
jar.update(historicResponse.cookies)
时,我的一个artifcat mvn clean install
com.opengroup.pop:jpop-services-tools:jar:1.3.0
这是堆栈跟踪
<dependency>
<groupId>com.opengroup.pop</groupId>
<artifactId>jpop-front-tools</artifactId>
<version>${jpop.version}</version>
</dependency>
问题是这个artifcat存在于我的本地存储库中,我无法理解是什么问题
我的本地存储库配置得很好
ERROR] Failed to execute goal on project justice-spark-scelles-rdd-app: Could not resolve dependencies for project fr.gouv.justice.spark:justice-spark-scelles-rdd-app:jar:1.0.0: The
following artifacts could not be resolved: com.opengroup.pop:jpop-front-tools:jar:1.3.0, com.opengroup.pop:jpop-services-tools:jar:1.3.0, com.opengroup.pop:jpop-zdao-tools:jar:1.3.0
: Failure to find com.opengroup.pop:jpop-front-tools:jar:1.3.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until th
e update interval of central has elapsed or updates are forced -> [Help 1]
答案 0 :(得分:1)
检查包本身的内容。我的猜测是它将是空的/无效的。
从本地存储库中删除整个包并重建。很多时候,软件包似乎已损坏。下载时再次检查。