Eclipse Java error: This selection cannot be launched and there are no recent launches

后端 未结 9 1946
孤独总比滥情好
孤独总比滥情好 2021-02-05 03:21

I have looked everywhere on the internet and tried everything the forums say to do and nothing works. This error keeps coming up. I have tried running my java project (not for a

9条回答
  •  梦如初夏
    2021-02-05 03:55

    Have you checked if:

    1. You created a class file under src folder in your JAVA project?(not file)
    2. Did you name your class as the same name of your class file?

    I am a newbie who try to run a helloworld example and just got the same error as yours, and these work for me.

提交回复
热议问题