It turns out that these two blocks are both red, and there is no response no matter how I import the package. I tried various methods online. Finally, I got so angry that I deleted all the local Maven repositories and tried again. The problem was solved. . .
-
The default location of Maven's local warehouse is C:\Users\username.m2\repository. Delete the entire repository folder directly.
-
Right-click pom.xml->maven->reload project, and wait for a short while.
If the download is too slow, you can try pulling the Alibaba Cloud image. There are many methods on the Internet, so I won’t explain them one by one.