Maven reported an error Could not transfer artifact com.google....

Maven reports errors several times when running, record them:

1. The jdk is inconsistent. The project is jdk8 and I am using jdk 17. Modification method: 

Several ways to configure JDK in IDEA_idea jdk_无见不的blog-CSDN blog

2. Error Could not transfer artifact.... http://0.0.0.0...

Solution: Modify the image

Add Alibaba Cloud image: 

[Maven] Maven settings.xml configuration image_Southern Youqiaomu Blog-CSDN Blog

pom.xml keeps prompting Could not transfer artifact + the problem of being unable to resolve maven dependencies_qq_40791594's blog-CSDN blog

Comment out the default image:

After IDEA is upgraded to 2021.3, the Maven private warehouse cannot be used to solve the problem | Programmer DD (didispace.com)

(5 messages) IDEA2021.3.2 pull maven error maven-default-http-blocker solution_could not validate integrity of download from_deep Java's blog-CSDN blog 3. Modify settings:

Change the built-in maven and settings to your own: 

Remember to try restarting the ide every step of the way

Select maven, lifecycle clean, install in the upper right corner and give it a try

I got it here and it was ok. If it still doesn’t work, try this? I searched for it at the time, but it was successful before I tried it here. It keeps saying “Could” about pom.xml not transfer artifact (cannot be moved) + the problem of being unable to resolve maven dependencies, some problems I encountered in the process of learning springboot_Charging He's Blog-CSDN Blog

Three solutions to Maven package import failure - Could not transfer artifact - Yumo1110 - Blog Park (cnblogs.com)

Guess you like

Origin blog.csdn.net/weixin_65293439/article/details/130145933