解决办法:1.右键你的项目->Maven->Update Project Configuration更新完后,进行第二步
2.右键你的项目->Properties=>Deployment Assembly=>Add=>java Build Path Entries =>Maven Dependencies=>finish就OK啦。
eclipse中将Maven Dependencies Libraries移除后的恢复办法
原文:http://www.cnblogs.com/hanxf/p/6399410.html