【Eclipse】Editor does not contain a main type

问题现象:

eclipse运行java程序的时候弹出对话框:Editor does not contain a main type.

解决方法:

右击 src路径 → Build Path → Use as Source Folder

原文地址:https://www.cnblogs.com/TD1900/p/11740647.html