Idea中Module is not specified解决办法

打开idea发现项目启动不了了,出现了这个错误:Module is not specified 

解决如下:Edit Configuration -> Configuration -> Use classpath of module -> 选择你当前的module -> Apply就可以了

原文地址:https://www.cnblogs.com/zhyp/p/12264541.html