---
title: "m2eclipse 0.9.7安装问题"
author: "skydream"
date: "2009-03-18T06:40:00Z"
tags: ["Eclipse", "Google", "UI", "Web", "maven"]
slug: "m2eclipse-0-9-7"
draft: false
lastmod: "2009-08-02T11:08:20Z"
id: 437930
url: "https://skydream.iteye.com/blog/437930"
---

从http://m2eclipse.sonatype.org/update下在线安装m2eclipse，现在的版本是0.9.7，20090209的版本，应该是新出来的。安装时出现错误提示导致无法安装：

Cannot complete the request.  See the details.  
Cannot find a solution satisfying the following requirements org.eclipse.ui.workbench \[3.4.2.M20090127-1700].

这个错误比较古怪，我用的是最新的eclipse 3.4.2 jee的版本，特地跑eclipse目录plugins下去看，发现有org.eclipse.ui.workbench\_3.4.2.M20090127-1700.jar  
和上面要求的版本完全一致啊，怎么就报错了呢？

google了一圈，完全没有收获，似乎大家都没有遇到类似问题？

逐个尝试，发现有三个东西和这个org.eclipse.ui.workbench\_3.4.2.M20090127-1700有依赖：  
maven scm handler for subclipse  
maven integration for ajdt  
maven integration for wtp  
在google上搜到一篇文章：  
M2eclipse在Eclipse3.4.1下的详细安装步骤  
http://blog.csdn.net/zhaosen241/archive/2008/10/22/3122779.aspx  
提到要先安装Web Tools Platform (WTP)，但是我测试过发现还是没有解决问题。我用link方式安装了最新版本的Web Tools Platform (WTP) ，再次安装m2eclipse 0.9.7时还是报上面同样的错误。

最后没辙了，放弃上面的三个造成错误的东东，安装其他内容，一路顺利安装，m2eclipse可以正常运行。

始终还是不明白为什么会报org.eclipse.ui.workbench\_3.4.2.M20090127-1700的错误？？哪位可以赐教？