maven resolution will not be reattempted until the update interval of artifactor

使用maven配置

<dependency>  
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>3.2.9.RELEASE</version>
</dependency>

因为下载速度太慢,一直卡在编译项目的过程中,于是点击了取消编译。
用进程管理器杀死了eclipse,在重新启动eclipse时,pom.xml报错:

maven resolution will not be reattempted until the update interval of artifactory has elapsed or updates are forced  ...

原因是下载 spring-jms 到了一半的过程中突然取消了下载,导致了maven感到无所适从,在网上搜索了一下,没有找到很好的解决办法,于是决定自己尝试,找到maven本地repository目录,进入到
... repository\org\springframework\spring-jms 目录,将上次下载的残缺不全的 文件夹3.2.9.RELEASE 删除,然后编辑下pom.xml文件,保存。maven于是重新去下载spring-jms 3.2.9.RELEASE,搞定。

你可能感兴趣的:(eclipse,maven)