Tagged: Gradle building rest spring app can’t find main class

Gradle building rest spring app can't find main class 0

Gradle building rest spring app can’t find main class

I kept getting the follow error message. how to fix it. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:findMainClass‘. > org.gradle.api.tasks.SourceSetOutput.getClassesDir()Ljava/io/File; plugins { id ‘java’ id ‘idea’ id...