在eclipse中装上maven插件后,新建一个maven工程,会报错说 Missing indirectly referenced artifact com.sun:tools:jar:1.5.0:system google
[color=orange]解决办法
[b]-vm
C:\Java\jre1.6.0\bin\ [/b]按照上面所说的,最后参数在eclipse.ini中可以写成这个样子:
-vmargs
-Xms128M
-Xmx512M
-XX:PermSize=64M
-XX:MaxPermSize=128M [/color]
The container 'Maven Dependencies' references non existing library 'D:\Program Files\Java\lib\tools.jar'
[color=orange解决办法
uncheck the option "resolve dependencies from workspace projects" from the maven tab of eclipse.
[b]项目名称->属性->maven 把resolve dependencies from workspace projects
前面勾去掉[/b]
[/color]
[color=orange]解决办法
[b]-vm
C:\Java\jre1.6.0\bin\ [/b]按照上面所说的,最后参数在eclipse.ini中可以写成这个样子:
-vmargs
-Xms128M
-Xmx512M
-XX:PermSize=64M
-XX:MaxPermSize=128M [/color]
The container 'Maven Dependencies' references non existing library 'D:\Program Files\Java\lib\tools.jar'
[color=orange解决办法
uncheck the option "resolve dependencies from workspace projects" from the maven tab of eclipse.
[b]项目名称->属性->maven 把resolve dependencies from workspace projects
前面勾去掉[/b]
[/color]