![](/img/trans.png)
[英]How can I make eclipse detect my new java class in my m2e maven project?
[英]How can I install the M2E - Maven Integration in Eclipse?
我正在尝试通过Eclipse中的存储库安装来安装插件(帮助->安装新软件->使用: http : //download.eclipse.org/technology/m2e/releases/- >下一步),并且变得越来越大错误:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration 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 for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.core.resources 3.9.0' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.6.2.20150902-0002 (org.eclipse.m2e.core 1.6.2.20150902-0002) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e Marketplace 1.6.2.20150902-0002 (org.eclipse.m2e.discovery 1.6.2.20150902-0002)
To: bundle org.eclipse.m2e.core [1.6.0,1.7.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002)
To: org.eclipse.m2e.discovery [1.6.2.20150902-0002]
我尝试在番石榴捆上查找信息,但无法在Eclipse市场中搜索此信息,也找不到从那里可以安装的任何仓库。
我正在使用Eclipse Juno SR2。 我已经读到某些版本的Eclipse无法安装guava捆绑包,但没有读到Juno是其中之一。
您正在尝试将最新版本的m2e安装到一个非常旧的Eclipse版本中。 两者不兼容。 您有2个选择:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.