`
ssun125
  • 浏览: 41260 次
文章分类
社区版块
存档分类
最新评论

eclipse:editor dose not contain a main type

 
阅读更多

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


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics