http://blog.sina.com.cn/s/blog_8ced01900101ba3f.html
1.
Right click the web project“properties” -------> click the “DeploymentAssembly” ---->
Click add button
Choose Java Build PathEntires ---> click NextChoose MavenDependencies------>
2.
ChooseProject-----> Click Next button
Choose your dependenciesproject -----> Click Finish button