今天使用Maven碰到了这个异常,异常信息如下:
- Failure to transfer org.apache.maven:maven-parent:pom:17 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-parent:pom:17 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000 pom.xml /mmseg4j-analysis line 1 Maven pom Loading Problem
解决办法如下:
Windows环境下的话,请先进入你的本地仓库所在文件夹,比如我的本地Maven仓库文件夹是E:\Maven-Repository,
Ctrl + F在本地仓库里搜索所有下载失败的jar,如图操作:
然后在你的项目上鼠标右键----> Maven----->update project,如图:
OK,然后问题就解决了。如果你还有什么问题,请QQ联系我(QQ:7-3-6-0-3-1-3-0-5).