views:

133

answers:

2

I got this message when running my project in Eclipse, and I am sure that I have a main in my project. I tried cleaning, closing and re-opening it, but nothing works. Can anyone help me please?

A: 

It could be many things.

Try to clean your workspace first and check your configuration used to start your project.


Resources :

On the same topic :

Colin Hebert
A: 

The currently opened source code doesn't have a public static void main(String[] args) method. Ensure that you're opening and focusing the right source code which contains the method and then press Ctrl+F11 to execute it.

BalusC