"The selection doesnot contain a main type" error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rama_krishna
Posted On:   Wednesday, February 28, 2007 11:21 PM

I had a main method in my program. irrespective of that , i am getting an error as "The selection doesnot contain a main type", when i am trying to execute my program . How can i resolve the error?


This program is written as a part of a very basic spring application.

Re: "The selection doesnot contain a main type" error

Posted By:   java_learner  
Posted On:   Thursday, March 1, 2007 01:01 AM

Hi Rama Krihna,

If main method signature is incorrect then only, you get that error. Check the main method syntax.

Thanks,
Rajasekhar

About | Sitemap | Contact