Eclipse中Editor does not contain a main type 解决方法 1、问题 2、原因 当前的源代码(所有的包)没有被添加到build path中 src目录出现错误 3、解决 4、如果显示下图,则先remove再进行上一步