在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)设置系统安装的JDK目录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)增加JDK路径到eclipse.ini文件中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
不能有空格,否则要用~1代替,如: ‘Program Files’ is ‘Progra~1′. Notice 1: Do not use paths with spaces! Replace all dir names with spaces to their shortcuts. For example: ‘Program Files’ is ‘Progra~1′.
要分为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
-vm要在-vmargs前面。Notice : ‘-vm’ must be "-vmargs" above
重启eclipse。Restart eclipse and everything should be fine.
相关推荐
赠送jar包:org.eclipse.jgit.lfs-5.10.0.202012080955-r.jar; 赠送原API文档:org.eclipse.jgit.lfs-5.10.0.202012080955-r-javadoc.jar; 赠送源代码:org.eclipse.jgit.lfs-5.10.0.202012080955-r-sources.jar;...
总结来说,**eclipse-maven3-plugin** 是 Eclipse IDE 的重要增强工具,它将 Maven 的强大功能与 Eclipse 的便利性相结合,为 Java 开发者提供了一站式的项目构建和管理体验。无论是新手还是经验丰富的开发者,都能...
maven-eclipse-plugin-2.9.jar maven-embedder-3.2.1-sources.jar maven-filtering-1.1.jar maven-install-plugin-2.3.1.jar maven-install-plugin-2.4.jar maven-install-plugin-2.5.1.jar maven-jar-plugin-2.4....
jeecg-framework3.4.3发布版本-eclipse-maven版本.zipjeecg-framework3.4.3发布版本-eclipse-maven版本.zipjeecg-framework3.4.3发布版本-eclipse-maven版本.zipjeecg-framework3.4.3发布版本-eclipse-maven版本....
赠送jar包:org.eclipse.jgit-5.10.0.202012080955-r.jar; 赠送原API文档:org.eclipse.jgit-5.10.0.202012080955-r-javadoc.jar; 赠送源代码:org.eclipse.jgit-5.10.0.202012080955-r-sources.jar; 赠送Maven...
赠送jar包:org.eclipse.jgit-5.10.0.202012080955-r.jar; 赠送原API文档:org.eclipse.jgit-5.10.0.202012080955-r-javadoc.jar; 赠送源代码:org.eclipse.jgit-5.10.0.202012080955-r-sources.jar; 赠送Maven...
4) Make sure JAVA_HOME is set to the location of your JDK 5) Run "mvn --version" to verify that it is correctly installed. For complete documentation, see ...
1. 在你的 eclipse 安装的根目录下创建两个文件夹:links,plugins(名字可以随便取),我的这两个文件夹位于:path=D:/Development/eclipse-JavaEE/eclipse(作为参考,下面用到) 2. eclipse-maven3-plugin.7z ...
Eclipse Maven3 插件,通常被称为 m2e(Maven Integration for Eclipse),是Eclipse IDE中的一个核心组件,用于支持Maven构建工具的集成。这个插件使得开发者能够在Eclipse环境中无缝地管理Maven项目,包括构建、...
【maven-eclipse-plugin】是Maven生态中的一个重要插件,它主要负责将Maven项目导入Eclipse这样的IDE中,以便于开发人员进行便捷的开发和管理。在使用Maven时,理解并熟练掌握这个插件的使用对于提高开发效率至关...
ECLIPSE MAVEN3插件文件(eclipse-maven3-plugin工具)
直接离线安装eclipse中的maven插件,在你的eclipse安装根目录下创建两个文件夹:links,myplugins(文件夹名字可以自定义),所在路径D:\eclipse。将下载下来的maven插件放到myplugins下。载links目录下创建一个...
解决Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] 1. 下载maven-archetype-quickstart-1.1.jar 文件地址: 2.cmd窗口执行mvn install:install-file -...
jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-...
赠送jar包:org.eclipse.jgit.lfs-5.10.0.202012080955-r.jar; 赠送原API文档:org.eclipse.jgit.lfs-5.10.0.202012080955-r-javadoc.jar; 赠送源代码:org.eclipse.jgit.lfs-5.10.0.202012080955-r-sources.jar;...
《 Maven Archetype Catalog:加速Eclipse中的Maven项目创建 》 在软件开发过程中,Maven作为Java项目管理...通过理解这个压缩包的工作原理和使用方法,我们可以更深入地掌握Maven与Eclipse的集成,从而提升开发体验。
7. **调试和构建**:Eclipse提供了强大的调试工具,以及构建自动化工具如Maven或Gradle的集成。 8. **编码辅助**:智能代码补全、语法高亮、重构工具等提高开发效率。 9. **运行配置**:可以配置多个运行配置,适应...
maven-eclipse-plugin-2.9.jar
maven-resources-plugin-2.4.1.jar