1.在项目上右击, 选择 configure ->Convert to maven project 此命令把该项目转换成 maven 项目 2.然后在项目右击, run as 选项里就有 maven install 菜单了