问题现象:eclipse运行java程序的时候弹出对话框:Editor does not contain a main type.解决方法:右击 src路径 → Build Path → Use as Source Folder