原因

没有指定输出路径,导致错误。

解决办法

1、在项目下新建文件夹out

Cannot start compilation: the output path is not specified for module "demo". Specify the output path in the Project Structure dialog.

2、点击File--> Project Structure, 在project compiler output
中添加该目录。

Cannot start compilation: the output path is not specified for module "demo". Specify the output path in the Project Structure dialog.

点击确定即可。

相关文章:

  • 2021-05-08
  • 2021-04-01
  • 2021-04-18
  • 2021-09-11
  • 2022-02-07
  • 2021-09-09
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2021-06-29
  • 2021-08-06
  • 2021-04-01
  • 2022-12-23
  • 2021-04-15
相关资源
相似解决方案