This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes  Eclipse problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark " Eclipse problem " Watch " Eclipse problem " New topic

Eclipse problem

Arjun Palanichamy
Ranch Hand

Joined: Jul 15, 2006
Posts: 51
Hi all...

I have using Eclipse IDE ,long time.but few days back i was bulid the GWT in my eclipse.when this started time not working my eclipse.the getting error
" The Selection does not Contain a main type" what is this to recaver it.

Thanks to Advance.

Arjun Palanichamy.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 37953
Apart from your posting on the wrong forum . . .

When you run an app from Eclipse (right-click->Run->Run as Java Application), the IDE looks for a main method, and in your case failed to find one. This is analogous to "Exception in thread "main" java.lang.NoSuchMethodError: main."

Please check you have a main method with the correct heading.Then it ought to work.
I agree. Here's the link:
subject: Eclipse problem
Similar Threads
Error While Starting JBoss 5.1.0 GA!!!
war file
Best Java IDE?
Netbeans vs Eclipse
Handling special cases in the Java?