鍦ㄥ畨瑁呭悗錛屽嚭鐜頒笅鍒楄鍛婏細
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.
瑙e喅鏂規硶錛?br>1銆佹鏌references->Java->Installed JREs閲屾槸鍚﹀凡娣誨姞姝g‘鐨凧RE閰嶇疆錛屽鏋滄病鏈夎娣誨姞姝g‘銆?br>2銆佸湪Eclipse鍚姩閰嶇疆鏂囦歡eclipse.ini錛堟鏂囦歡浣嶄簬Eclipse瀹夎鐩綍閲岋級閲屾坊鍔犲惎鍔ㄥ弬鏁幫紝灝咼DK閲岀殑javaw.exe璺緞鎸囧畾榪涙潵錛?br>-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:\Program Files\Java\jdk1.6.0_21\bin\javaw
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m