My mistakes

Eclipse ” editor does not contain a main type”

Posted by: pvibeesh 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

Advertisement

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.