一.出现问题
Cannot start compilation:the output path is not specified for module spcify the output path in conf
二.出现问题原因
出现标题这个错误是在intelliJ IDEA 中创建项目之后没有指定项目编译输出的地方,这种情况存在new java moudle。如下图:
Inherit project compile output path 意思是:继承项目编译输出路径;看第二张图的介绍。Use module compile output path 意思是:使用模块编译输出路径;一般只有maven项目默认是有编译输出位置的,而java moudle是没有输出位置,所以需要自己手动去指定。
解决方案:
来设置 module的路径