zoukankan      html  css  js  c++  java
  • maven

    在工作中,需要用到maven。在安装好maven后,在eclipse中安装maven插件时,却遇到了问题,总是提示安装失败。提示信息如下:

    Cannot complete the install because one ormore required items could not be found.

    Software being installed: m2e - MavenIntegration for Eclipse (includes Incubating components) 1.6.2.20150902-0002(org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002)

    Missing requirement: Maven Integration forEclipse Launching 1.6.2.20150902-0002 (org.eclipse.m2e.launching1.6.2.20150902-0002) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not befound

    Cannot satisfy dependency:

       From: m2e - Maven Integration for Eclipse (includes Incubatingcomponents) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group1.6.2.20150902-0002)

    To:org.eclipse.m2e.launching [1.6.2.20150902-0002]

    如上所示,提示缺少依赖的文件。导致这个问题的原因是,我们安装的插件的版本太高了,换成低版本的插件就好了。我安装的版本如下:JDK:1.6,Eclipse:4.2,maven:7。

    解决办法:在Eclipse中点击Help->Install New Software,在work with中点击Add,Name输入m2e_new,Location输入http://download.eclipse.org/technology/m2e/milestones/1.4,然后就可以看到m2e插件了。全部选中,安装后重启Eclipse即可。截图如下:

  • 相关阅读:
    JasperReport
    iconv
    Groovy
    Groovy
    file
    PowerShell 自动合并 db first 的dbcontext
    获取存储过程的名称和信息
    傻瓜式同步svn到git
    强大的生成pdf,word,等等文档工具
    iphone x 底部横条适配
  • 原文地址:https://www.cnblogs.com/yiyunkeji/p/6504312.html
Copyright © 2011-2022 走看看