在eclipse中安装了m2eclipse(maven插件)
在安装后,出现下列警告:
The Maven Integration requires that Eclipse be running in a JDK,
because a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm option in eclipse.ini is pointing to a JDK
and verify that Installed JRE’s are also using JDK installs.
解决:
(1)set your JDK as a default Java environment in eclipse (default installed JRE)
Open eclipse. Click on ‘Window’ -> ‘Preferences’ -> ‘Java’ -> ‘Installed JREs’.
If you can’t find any JDK on the list -> click ‘Add’ -> ‘Standard VM’ -> set all paths and click ‘Finish’.
After that – check this JDK on the list of installed JREs and click ‘OK’.
(2)add path to your SDK in eclipse.ini
open ‘eclipse.ini’ and add there: -vm path_to_javaw_on_your_machine,so in my example it will be (jdk1.6.0_17 on Windows):
-vm
D:\\Java\jdk1.6.0_13\jre\bin\javaw
Notice 1: Do not use paths with spaces! Replace all dir names with spaces to their shortcuts. For example: ‘Program Files’ is ‘Progra~1′ or 'Program Files (x86)' is 'Progra~2'.
Notice 2: ‘-vm’ is in the first line, path is in the second line
your ‘eclipse.ini’ looks like this:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
D:\Java\jdk1.6.0_13\jre\bin\javaw
-vmargs
-Xms40m
-Xmx256m
Notice : ‘-vm’ must be
above
"-vmargs"
Restart eclipse and everything should be fine.
相关推荐
安装m2eclipse插件时会依赖gef插件和svn插件,压缩包内包含m2eclipse + gef + svn的全部插件安装包,可以直接离线安装,本人亲测,在Eclipse3.7下安装成功,可以新建Maven项目。 需要注意的是,在离线安装时,切记...
m2eclipse离线安装包 安装之前请先安装Eclipse的gef和svn插件
m2eclipse eclipse maven插件
Maven以及其Eclipse插件m2eclipse的安装.doc
m2eclipse_for_eclipse_3.3.zip,m2eclipse插件
maven eclipse 插件 m2eclipse 本地安装包 版本0.12.1.20110112-1712 在线安装地址http://m2eclipse.sonatype.org/sites/m2e
eclipse的maven插件m2eclipse 1.6.2 目前最新版
在eclipse上安装m2eclipse插件,然后就可以直接将Maven项目导入eclipse里了共3个
eclipse插件maven,也叫m2eclipse,版本信息及安装教程看博文:http://blog.csdn.net/lxn39830435731415926/article/details/52346909
下载完并解压到好m2eclipse包后,在eclipse的dropins目录下新建一个m2eclipse.link文件,文件里面填写m2eclipse包的路径:如D:\devSpace\eclipse\m2eclipse,重启eclipse,在window-->preference下就可以看到maven项...
Eclipse3.7插件安装 插件名称:m2eclipse、SVN、...5、 配置完所有插件后,启动Eclipse,打开首选项。看到红框中的插件名称就表示插件安装成功。 6、 7、 http://m2eclipse.sonatype.org/sites/( m2eclipse插件地址)
m2eclipse maven插件 放在/dropins目录下就可以.
m2eclipse-subclipse插件 maven 解决没有check out as maven project ,svn结合maven插件
Eclipse3.6与m2eclipse插件 安装与使用
m2eclipse 有时候远程不能更新,所以需要下载本地更新,但官网没有zip包下载,上传个让大家下载。
m2eclipse 1.5.0 (Maven for Eclipse) m2eclipse 1.5.0 发布,Eclipse 的 Maven 插件 2014年06月06日,m2eclipse 1.5.0 发布,该软件也叫 m2e ,兼容 Eclipse Kepler 和 Luna 参考消息:...
org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration)
myecplice/ecplice maven插件m2eclipse_for_eclipse_3.3离线安装,省时省力,程序猿必备工具
旧版本eclipse,比如indigo版本要安装maven,旧的在线安装方式已经失效,因为依赖的zest和m2eclipse的location url都已经无法访问。所以从已经安装这两个包的eclipse中分离出离线的安装包,拷贝到对应的features和...
m2eclipse 1.3版本完美集成ecliopse3.7,离线安装方式如下: 1、解压下载文件到eclipse根目录(或其他目录myplugins,方便做link式链接路径) 2、eclipse根目录links目录下创建m2eclipse.link,文件内容path=path=D:/...