码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-04-29 16:14:00      阅读:2534      评论:0      收藏:0      [点我收藏+]

标签:alt   技术分享   sdn   lock   img   ref   技术   java se   nbsp   

错误是发生在从github上checkout自己的项目时。因为没有将配置文件一起上传,所以在运行Java程序时有了这个报错:

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” 
技术分享
2. 设置Project中的”Project compiler output” 
技术分享
选择”Project的路径”+”\out”,比如说我的就是 
技术分享 



将这两处改好后就能正常运行了。

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

标签:alt   技术分享   sdn   lock   img   ref   技术   java se   nbsp   

原文地址:http://www.cnblogs.com/ThinkVenus/p/6785316.html

(3)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!