ITeye博客

eclipse:editor dose not contain a main type

ssun125 · 2012-03-16 20:59 · Markdown

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

评论(0)

暂无评论。

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