IDEA错误:Cannot start compilation: the output path is not specified for module “Test“

IDEA项目在换电脑后运行报错Cannot start compilation: the output path is not specified for module "Test",解决如下:
点击File->Project Structure如图:
IDEA错误:Cannot start compilation: the output path is not specified for module “Test“
点击红色方框内选择项目内的out文件夹。