今天在用idea运行项目的时候报错,很纳闷没有头绪,看了网上的帖子找到了解决方法,这里做一个记录。

这里我们打开setting

Cannot start compilation: the output path is not specified for module "demo". Specify the output pa

选择红色方框的那个

打开之后点击project

Cannot start compilation: the output path is not specified for module "demo". Specify the output pa

看看你红色方框的这一栏是不是空的,如果是空的可以像我一样自己新建一个编译文件夹然后添加进去就好了。

Cannot start compilation: the output path is not specified for module "demo". Specify the output pa

相关文章: