maven pom.xml文件里面没东西

配置maven,添加阿里的仓库

D:\maven\apache-maven-3.8.4\conf

conf里面有个文件setting.xml

maven pom.xml文件里面没东西_第1张图片

以记事本方式打开

在里面添加代码


	nexus-aliyun
	central
	nexus-aliyun
	http://maven.aliyun.com/nexus/content/groups/public

maven pom.xml文件里面没东西_第2张图片 

打开idea,

maven pom.xml文件里面没东西_第3张图片 

file—>setting---->maven 配置一下,重新创建项目就好了。 

你可能感兴趣的:(maven,xml,java,idea)