Every time you open a new file, you must reconfigure the address of maven. This time, reorganize the configuration issues related to maven and idea.
first of all
Maven configuration problem every time a new project is created
After setting this, you don’t have to worry about maven every time you create a new project
Question about why it is the default .m2
The picture above is a picture stolen from other people's blog. Let's take a look, it should be the case for most people.
As far as I know, this thing comes from your own idea.
Open this settings.xml
and search globally.m2
/.m2/settings.xml
/.m2/repository
Revise
<localRepository>D:\apache-maven-3.6.3\repository</localRepository>```