Invalid artifact repository: Repository identifier missing	pom.xml



出现这样的错误是因为id缺失,考,搞了半天

<repository>

<name>Central Repository</name>

<url>http://repo.maven.apache.org/maven2</url>

</repository>

正确应该如下:

<repository>

<id>central-repos</id>

<name>Central Repository</name>

<url>http://repo.maven.apache.org/maven2</url>

</repository>

错误解决!



相关文章: