idea创建springboot项目,一直在reading pom.xml

problem:遇到的问题

idea创建springboot项目,一直在reading pom.xml

解决方法有三种:
(1)修改windows配置文件

c;\windows\System32\drivers\etc\hosts

idea创建springboot项目,一直在reading pom.xml_第1张图片
12.0.0.1 localhost前的注释符号#去掉

idea创建springboot项目,一直在reading pom.xml_第2张图片


(2)方法二:设置网络配置

win+ R、打开cmd、输入netsh winsock reset

然后重启电脑就可


(3)方法三:删除.mvn然后重启IDEA

idea创建springboot项目,一直在reading pom.xml_第3张图片

***idea创建springboot项目,一直在reading pom.xml_第4张图片
之后就可正确加载mvn项目

你可能感兴趣的:(大学学习,spring,boot,java)