在IDEA初次搭建项目环境时候报错:
Cannot start compilation: the output path is not specified for module “Test”. Specify the output path in Configure Project.

其实这个错误是因为没有设置output的路径,只要修改两个地方的设置就可以了:
1. 在Modules设置里勾选”Inherit project compile path”
IDEA错误:Cannot start compilation: the output path is not specified for module "XXX".
2. 设置Project中的”Project compiler output”IDEA错误:Cannot start compilation: the output path is not specified for module "XXX".
选择”Project的路径”+”\out”,比如说我的就是
IDEA错误:Cannot start compilation: the output path is not specified for module "XXX".
将这两处改好后就能正常运行了。

相关文章:

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