zoukankan      html  css  js  c++  java
  • maven 安装m2e 报错

    Eclipse安装maven插件m2e

    m2e - http://m2eclipse.sonatype.org/sites/m2e 

    m2e-extras - http://m2eclipse.sonatype.org/sites/m2e-extras

    ,报错信息如下: 

    Java代码  收藏代码
    1. Cannot complete the install because one or more required items could not be found.  
    2.   Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)  
    3.   Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found  
    4.   Cannot satisfy dependency:  
    5.     From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)  
    6.     To: org.maven.ide.eclipse.editor [0.12.1.20110112-1712]  




    解决方案: 
    Help -> Install new Software ->Available Software Sites -> choose "http://download.eclipse.org/tools/gef/updates/releases/" -> Enable it -> then install. 
    Or if don't have, choose Add "http://download.eclipse.org/tools/gef/updates/releases/" -> then install. 

    After finish installing, restart eclipse, can install maven plugin. 

    ---------------------------------------------------------------------- 

    Java代码  收藏代码
    1. An error occurred while collecting items to be installed  
    2. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).  
    3. Unable to read repository at http://m2eclipse.sonatype.org/sites/m2e/0.12.1.20110112-1712/plugins/org.maven.ide.eclipse.maven_embedder_0.12.1.20110112-1712.jar.  
    4. Read timed out  



    解决方案: 
    change another address: 
    http://download.eclipse.org/technology/m2e/releases

    引用http://smallwildpig.iteye.com/blog/1746763 

  • 相关阅读:
    NOJ 1116 哈罗哈的大披萨 【淡蓝】 状态压缩DP
    优先队列原理与实现【转】
    testC-I
    济南NOIP冬令营 选拔(select)
    P4747 D’s problem(d)
    P4746 C’s problem(c)
    P4745 B’s problem(b)
    P4744 A’s problem(a)
    [bzoj] 1004: [HNOI2008]Cards
    NOIP2013 表达式求值
  • 原文地址:https://www.cnblogs.com/shenfengok/p/6812747.html
Copyright © 2011-2022 走看看