eclipse M2E插件不断更新索引
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7056234/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
M2E plugin continually updating index
提问by James P.
I've installed Maven and the m2e Eclipse plugin. For some reason Eclipse is stuck updating indexes whenever I launch it now. Clicking the link on the operation shows the logs below. How can I stop this operation (stop button doesn't work) or fix this?
我已经安装了 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]
回答by Srikanth Venkatesh
Go to WindowPreferencesMavenand uncheck Download repository index updates on startup
转到WindowPreferencesMaven并取消选中Download repository index updates on startup