- 会显示很多的包没有导入成功。有很多红叉叉。
- 2/15/17 1:56:02 AM CST: Unable to update index for central|http://repo1.maven.org/maven2
解决办法:
1. Close Eclipse
2. Delete workspace_location/.metadata/.plugins/org.maven.ide.eclipse/nexus
3. Delete workspace_location/.metadata/.plugins/org.eclipse.m2e.core/nexus
4. Open eclipse, Go to Window->Preferences->Maven and enable checkbox named “Download repository index updates on startup”.
5. OK and restart Eclipse.