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

后端 未结 12 2397
忘掉有多难
忘掉有多难 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 08:55

    Open .iml file. Look for keyword 'NewModuleRootManager'. Check if attribute 'inherit-compiler-output' is set to true or not. If not set to true.

    Like this :

    component name="NewModuleRootManager" inherit-compiler-output="true">
        
          
          
          
    

提交回复
热议问题