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
Comment out the default image:
(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