Possible Duplicate:
Eclipse error: “Editor does not contain a main type”
I am currently coding a server socket application where you can connect to several clients via a thread pool.
But when I want to compile the main I get:

Why do I get that? I still have a main in my mainServer.java
I appreciate your answer!!!
Make sure your Launch Configuration is pointed to ServerMain, and if it isn’t, make sure you do
Run As > Java Application.Otherwise you could try a
Project > CleanAlso some more questions that deals with this that could be helpful,
Eclipse error: "Editor does not contain a main type"
Editor does not contain a main type