[英]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.