IDEA错误:Cannot start compilation:

2021-07-27  本文已影响0人  想象之中丶意料之外

错误是发生在从github上checkout自己的项目时。因为没有将配置文件一起上传,所以在运行java程序时有了这个报错:
Cannot start compilation: the output path is not specified for module “Test”. Specify the output path in Configure Project.

其实这个错误是因为没有设置output的路径,只要修改两个地方的设置就可以了:

2、设置Project中的”Project compiler output”


image.png

选择”Project的路径”+”\out”,比如说我的就是


image.png

转:IDEA错误:Cannot start compilation: the output path is not specified for module "XXX". Specify the out

上一篇 下一篇

猜你喜欢

热点阅读