Report error in full: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval
of central has elapsed or updates are forced. Original error: Could not transfer artifact com.thoughtworks.xstream:xstream:jar:1.3.1 from/to central (https://repo.maven.apache.org/maven2): The operation
was cancelled.
Should be the time to download the package error, go to the repository to delete, re-download it!
After the deletion, maven clean, done!
Similar question.
Failure to transfer org.apache.maven.shared:maven-filtering:jar:1.0-beta-2 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.shared:maven-filtering:jar:1.0-beta-2 from/to central (https://
repo.maven.apache.org/maven2): The operation was cancelled.
The same method to solve, are half of the download interrupted, the reason for the package is not complete.
Read More:
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- [Solved] Maven Error: parent.relativePath points at wrong local POM
- Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…
- [Solved] presto Compile Error: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check
- How to Solve Error: [ERROR] Error executing Maven.
- [Solved] Maven log jar package conflict error: Class path contains multiple SLF4J bindings
- [Solved] Maven Error: The packaging for this project did not assign a file to the build artifact
- Solve Maven project running error Failed to clean project: Failed to delete
- [SpringBoot] Maven Error: Connection refused to host: 127.0.0.1
- How to Solve Error: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- How to Solve Git Error: error: unable to unlink old ‘***.jar‘
- Maven Configurate Error: [ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec
- [Solved] Android Studio Generate APK Error: error_prone_annotations.jar (com.google.errorprone:error)
- Maven Error: Missing artifact jdk.tools:jdk.tools:jar:1.7
- How to Solve Cocoapods Installation Failure
- How to Solve Chrome error: ERR_CACHE_READ_FAILURE
- [Solved] scala Error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exe
- Prompt unknown error in pom.xml of Maven project
- [Solved] ERROR–Unable to process Jar entry [module-info.class] from Jar