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 

  • 相关阅读:
    SpringMVC日期类型转换问题三大处理方法归纳
    java 生成execl下载
    阿里maven仓库地址 和 oschina maven仓库地址
    hibernate基础学习
    学习struts2
    Linux下的/dev/sr0
    Oracle 19c(19.3) 单机数据库静默安装
    [转]Oracle 19C的下载和安装部署(图形安装和静默安装)
    CDH entropy was available 问题解决
    CDH当中NFS GATEWAY实例启动失败
  • 原文地址:https://www.cnblogs.com/shenfengok/p/6812747.html
Copyright © 2011-2022 走看看