![java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow](https://i.stack.imgur.com/9Yfc3.png)
java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow
![java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow](https://i.stack.imgur.com/tj9dv.png)
java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow
![android studio - Run Application configuration stopped working: appears to start executing gradle task [:app:Api.main()] all of a sudden - Stack Overflow android studio - Run Application configuration stopped working: appears to start executing gradle task [:app:Api.main()] all of a sudden - Stack Overflow](https://i.stack.imgur.com/zx6xo.png)
android studio - Run Application configuration stopped working: appears to start executing gradle task [:app:Api.main()] all of a sudden - Stack Overflow
Gradle plugin cannot resolve a main class from "run" task · Issue #1099 · spring-projects/spring-boot · GitHub
![Cannot get a "Hello World" Gradle project to run. Error: Could not find or load main class : r/IntelliJIDEA Cannot get a "Hello World" Gradle project to run. Error: Could not find or load main class : r/IntelliJIDEA](https://preview.redd.it/cannot-get-a-hello-world-gradle-project-to-run-error-could-v0-81b81moqxplc1.png?width=1021&format=png&auto=webp&s=521ec9d5dd84c2e5fe105a2efff363fa603009fd)