M2E插件不断更新索引

时间:2011-08-14 10:18:54

标签: eclipse maven m2e

我已经安装了Maven和m2e Eclipse插件。出于某种原因,每当我启动它时Eclipse都会卡住更新索引。单击操作上的链接将显示以下日志。如何停止此操作(停止按钮不起作用)或修复此问题?

14/08/11 11:50:22 CEST: Updating index central|http://repo1.maven.org/maven2
14/08/11 11:50:43 CEST: [WARN] Failure to transfer commons-collections:commons-collections/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-collections:commons-collections/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:43 CEST: Downloading http://repo1.maven.org/maven2/commons-collections/commons-collections/maven-metadata.xml
14/08/11 11:50:43 CEST: Downloaded http://repo1.maven.org/maven2/commons-collections/commons-collections/maven-metadata.xml
14/08/11 11:50:44 CEST: [WARN] Failure to transfer commons-digester:commons-digester/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-digester:commons-digester/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:44 CEST: Downloading http://repo1.maven.org/maven2/commons-digester/commons-digester/maven-metadata.xml
14/08/11 11:50:44 CEST: Downloaded http://repo1.maven.org/maven2/commons-digester/commons-digester/maven-metadata.xml
14/08/11 11:50:46 CEST: [WARN] Failure to transfer commons-logging:commons-logging/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:46 CEST: Downloading http://repo1.maven.org/maven2/commons-logging/commons-logging/maven-metadata.xml
14/08/11 11:50:46 CEST: Downloaded http://repo1.maven.org/maven2/commons-logging/commons-logging/maven-metadata.xml
14/08/11 11:50:47 CEST: [WARN] Failure to transfer com.lowagie:itext/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata com.lowagie:itext/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:47 CEST: Downloading http://repo1.maven.org/maven2/com/lowagie/itext/maven-metadata.xml
14/08/11 11:50:47 CEST: Downloaded http://repo1.maven.org/maven2/com/lowagie/itext/maven-metadata.xml
14/08/11 11:50:50 CEST: [WARN] Failure to transfer jfree:jcommon/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata jfree:jcommon/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:50 CEST: Downloading http://repo1.maven.org/maven2/jfree/jcommon/maven-metadata.xml
14/08/11 11:50:50 CEST: Downloaded http://repo1.maven.org/maven2/jfree/jcommon/maven-metadata.xml
14/08/11 11:50:50 CEST: [WARN] Failure to transfer jfree:jfreechart/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata jfree:jfreechart/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:50 CEST: Downloading http://repo1.maven.org/maven2/jfree/jfreechart/maven-metadata.xml
14/08/11 11:50:50 CEST: Downloaded http://repo1.maven.org/maven2/jfree/jfreechart/maven-metadata.xml
14/08/11 11:50:51 CEST: [WARN] Failure to transfer eclipse:jdtcore/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata eclipse:jdtcore/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): HTTP header is larger than 8192 bytes.
14/08/11 11:50:51 CEST: Downloading http://repo1.maven.org/maven2/eclipse/jdtcore/maven-metadata.xml
14/08/11 11:50:51 CEST: Downloaded http://repo1.maven.org/maven2/eclipse/jdtcore/maven-metadata.xml
14/08/11 11:50:55 CEST: Maven Builder: AUTO_BUILD 
14/08/11 11:50:56 CEST: Maven Builder: AUTO_BUILD 
14/08/11 11:50:57 CEST: Maven Builder: AUTO_BUILD 
14/08/11 12:12:39 CEST: Refreshing [/timezra.blog.spring_batch/pom.xml]
14/08/11 12:12:42 CEST: Refreshing [/task-basic/pom.xml]
14/08/11 12:12:52 CEST: Refreshing [/springbatch3part/pom.xml]

1 个答案:

答案 0 :(得分:33)

转到窗口 首选项 Maven 并取消选中启动时下载存储库索引更新