eclipse:editor dose not contain a main type
今天在用eclipse复制自己原来的项目后,打复制好的的项目出现了editor dose not contain a main type错误,纳闷了半天(明明有main函数),经过查询发现了原因。现在把解决方法记录下来:在项目名称上点击右键——选择Build Path——再选择Use as Source Folder,这样就OK了。

今天在用eclipse复制自己原来的项目后,打复制好的的项目出现了editor dose not contain a main type错误,纳闷了半天(明明有main函数),经过查询发现了原因。现在把解决方法记录下来:在项目名称上点击右键——选择Build Path——再选择Use as Source Folder,这样就OK了。

暂无评论。
评论功能维护中,当前仅展示历史评论。