“Cannot start compilation: the output path is not specified for module…”

后端 未结 12 2390
忘掉有多难
忘掉有多难 2020-12-13 08:43

I have a very simple Java + Gradle project. It builds fine. It runs fine from the shell with \"gradle run\". However, if I try to run inside of IntelliJ, I get:



        
12条回答
  •  鱼传尺愫
    2020-12-13 09:13

    I'm answering this so that I can find the solution when I have to google this error again.

    Set project compile output path to path_of_the_project_folder/out. That's what is working today. The intellj documentation makes it seem like we can select any folder but that's not the case.

提交回复
热议问题