点击左边项目结构右上方的小齿轮,取消勾选compact Empty middle packlages选项,此时你建立一个com.service.impl包,就会显示为com.service包下的impl包!