Error: Selection does not contain a main type

The Solution to Error: Selection does not contain a main type is


Right click on the folder where you put your main class then click on Build Path --> Use as Source Folder.

Finally run your main file as java application. Hope this problem will be solved.

~ Answered on 2014-04-11 23:41:32


Most Viewed Questions: