The container ‘Maven Dependencies’ references non existing library ‘D:\Program Files\Java\lib\tools.jar’
解决办法
uncheck the option “resolve dependencies from workspace projects” from the maven tab of eclipse.
项目名称->属性->maven 把resolve dependencies from workspace projects
前面勾去掉