更新时间:2022-06-15 02:35:15
eclipse使用C:\ Users \ firstname.lastname.m2文件夹中的默认maven settings.xml文件.
Check Is setting.xml in C:\Users\firstname.lastname\.m2 Folder exist or not.
如果settings.xml文件不是它们,则只需插入settings.xml.
If settings.xml file is not their just insert settings.xml.
mvn clean install spring-boot:run
您可以在maven> conf文件夹中获取settings.xml文件,例如,我在d:驱动器D:\中提取了maven zip,驱动器使用apache-maven-3.5.4文件夹名称,因此我的settings.xml文件在D中:\ apache-maven-3.5.4 \ conf
You can get the settings.xml File inside the maven> conf folder e.g I extract maven zip in my d: drive D:\ Drive with apache-maven-3.5.4 folder name so my settings.xml file is in D:\apache-maven-3.5.4\conf