Eclipse editor does not contain a main type的解决方案

来源:互联网 发布:js弹出div窗口 编辑:程序博客网 时间:2024/05/29 16:31

  在用eclipse的过程中,打算运行一个带有main函数的class时,出现editor does not contain a main type的错误框

  只需要做如下操作即可:

 


原创粉丝点击