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:
You have to define a path in the "Project compiler output" field in
File > Project Structure... > Project > Project compiler output
File
Project Structure...
Project
Project compiler output
This path will be used to store all project compilation results.