eclipse解决editor does not contain a main type的方法
来源:互联网 发布:查找相似图片软件 编辑:程序博客网 时间:2024/05/08 09:43
我的也出现这个问题,但是解决方法和转发的内容不太一样,原理一样,我是右击src--build path--use as source folder,估计以前是删除了工程中的部分东西,如果针对其他文件夹报错的会出现很多,不要担心,再remove source folder就行了,记得运行之后重启,还有包估计要重新rebuild source一下。
今天用eclipse,当打算run一个带有main函数的class时,出现editor does not contain a main type的错误框。
baidu了一下,迅速解决问题:原来这个class所在包没有被添加到build path中。
解决方法:在左侧的package explorer中右击这个class所在包的上一级目录--build path--use as source folder。这样就解决问题了。
重新打开class,再run一下,ok了。
0 0
- eclipse解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse/myeclipse 解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse解决editor does not contain a main type的方法
- eclipse的editor does not contain a main type错误
- Eclipse editor does not contain a main type的解决方案
- Eclipse 软件 Java 解决:出现的editor does not contain a main type错误框 问题
- eclipse报editor does not contain a main type解决方案
- eclipse 中 editor does not contain a main type错误
- 解决Editor does not contain a main type错误
- editor does not contain a main type" 错误解决方
- editor does not contain a main type
- editor does not contain a main type
- editor does not contain a main type
- 《深入浅出struts2》--第一章,Model2应用程序
- iOS开发zhiATM机的设计与实现
- 本地搭建Hadoop伪分布式环境之三:FlashFXP上传文件到Ubuntu
- uva 11234 Expressions(建立二叉树+层次遍历)
- Android自己动手打造XML解析框架
- eclipse解决editor does not contain a main type的方法
- Vim技巧之重复
- 初识命令行参数(以my_chmod为例)
- Python绘图基础
- Android 代码混淆打包
- The import java.util cannot be resolved
- 折价买分级基金的教程
- 动画特效六:三维过度
- Android传递Bitmap数组