《the maven integration requires that eclipse be running in a jdk》由会员分享,可在线阅读,更多相关《the maven integration requires that eclipse be running in a jdk(4页珍藏版)》请在金锄头文库上搜索。
1、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 JREs are also using JDK installs.解决办法:1,设置系统安装的 JDK 目录Wind
2、ow - Preferences - Java - Installed JREs.点击右侧的 Add-Standard MV -选择你 JDK 安装的路径2, 增加 JDK 路径到 eclipse.ini 文件中(增加红色加粗部分)-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar-launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813-productorg.eclipse.epp.package.jee.product-launcher.defaultActionopenFile-launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform-launcher.XXMaxPermSize256m-launcher.defaultActionopenFile-vmC:Program FilesJavajdk1.6.0_30binjavaw.exe-vmargs-Dosgi.requiredJavaVersion=1.5-Dhelp.lucene.tokenizer=standard-Xms40m-Xmx512m