做如下配置即可
settings-->bulid...-->Bulid Tools --> Maven-->Improting-->选中Impor Maven projects automatically-->Apply --> OK