maven包错如下
解决方法:
1:打开eclipse.ini文件
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
添加如下:
-vm
D:/jdk1.8/jdk1.8.0_91/bin
D:/jdk1.8/jdk1.8.0_91/bin
红色底板代表自身的Javajdk的安装目录,最好加在bin下
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
D:/jdk1.8/jdk1.8.0_91/bin
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
这样就可以解决MIssing artfact tools.jar不存在