【Eclipse】Editor does not contain a main type

问题现象:

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

解决方法:

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

posted @ 2019-10-25 20:16  心脏鼓点  阅读(555)  评论(0编辑  收藏  举报