1、选择工程-->Run As--->Maven Clean
2、然后Run As--->Maven Build...
eclipse怎么打包maven工程
原文:https://www.cnblogs.com/wwssgg/p/14890744.html