Issue
Firstly, I know that similar questions have been asked and answered before, however none of the solutions worked in my case. For some reason, eclipse keeps showing a launch error saying that no main method is found despite there being a public static void main(String[] args) in my main class. Could there be an issue in the class path? I'm really unsure whats causing it.
Solution
Try putting your java files under the "src" folder. Apparently they are all out of that folder and that could be the cause.
Answered By - Luis Miguel Serrano