I have had this exact problem when first trying to load Minecraft through Eclipse. I found I had to restart by re-downloading forge (MDK version), but save any mod code through text files in a folder as a recommendation. Run the gradle cmd and exit it when finished. Then use "cd " followed by the directory to your forge folder, and continuing in the order of:
"gradlew clean"
"gradlew genEclipseRuns"
"gradlew Eclipse"
Run Minecraft in Eclipse before continuing to re-add any code back to ensure it isn't any code that is preventing Minecraft from running. I found sometimes going outside the command order could result in failures such as the one you are currently experiencing. Yes it was a pain cause I on the other hand didn't save all my code in text files... This is for the latest recommended version of forge in 1.14.4, I am unsure if this is the same in prior versions of the game.