My mistakes

Eclipse ” editor does not contain a main type”

Posted on: February 16, 2011

This issue is mainly related to the source path setting . To solve this issue ensure the source path is setup correctly.

For verifying the source path use
Project(Menu)
=> Properties
=> Java Build Path
=> Source (select the appropriate src files)

After setting up the src
1) While running select the type of the application
2) Select the appropriate file with the main function

Advertisements

1 Response to "Eclipse ” editor does not contain a main type”"

This issue happened with me ,when I changed Eclipse indiago to Eclipse Europe . it is work fine .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: