手动更新Maven项目 右击项目–> Maven --> Update Project 或者快捷键 Alt + F5 sts设置自动更新Maven项目 单击window --> preferences --> Maven --> 把图中两项勾上