'"Editor does not contain a main type" error in Eclipse

I have a problem with eclipse/java application.

In the moment where i was ready to run my application it tells me a message that the selection does not contain main, but isn't true (see the picture)

how can i fix this mistake ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source