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:
While configuring idea plugin in gradle, you should define output directories as follows.
idea{ module{ inheritOutputDirs = false outputDir = compileJava.destinationDir testOutputDir = compileTestJava.destinationDir } }