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

后端 未结 12 2393
忘掉有多难
忘掉有多难 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

    If none of the above method worked then try this it worked for me.

    Go to File > Project Structure> Project and then in Project Compiler Output click on the three dots and provide the path of your project name(name of the file) and then click on Apply and than on Ok.

    It should be like that as in the picture i an posting.

提交回复
热议问题