1.选择底栏的services 2.选择你要拷贝的项目右键选择Copy Configuration... 3.点击Environment下拉 选择VM options 填入-Dserver.port=8082