eclipse中Editors does not contain a main type 图解处理方法
来源:互联网 发布:汉字笔顺演示软件下载 编辑:程序博客网 时间:2024/06/13 12:19
刚刚突然出现了这个错误“Editors does not contain a main type”
就搜索各大网站寻找解决方案,但是网上的问题并不能真正的使我解决这个问题,所以就不断的尝试,最后得出了处理方法。
原因就是是因为.java文件不在项目的src路径内,也就是说源代码未被eclipse编译,字节码不存在无法运行了。
但是根据网络上的答案不太好解决这一问题,来说说我的处理方法。
又总结出一个方法二
方法一
正常的右键new-->java project
单击红色方框 Configure default..
选择project,再点OK
之后右键新建的项目 new-->class
在新建的dsa.java写代码你的程序就可以正常运行了!
方法2
右键包内 . JAVA 文件 Run As 内 最下面的 Run Configurations...
之后问题就完美解决了、
如果解决了你的方案,给个评论给予支持,谢谢!
0 0
- eclipse中Editors does not contain a main type 图解处理方法
- eclipse 中 editor does not contain a main type错误
- Eclipse中出现Editor does not contain a main type或者Selection does not contain a main type
- eclipse selection does not contain a main type
- eclipse的editor does not contain a main type错误
- Eclipse editor does not contain a main type的解决方案
- win7 eclipse: selection does not contain a main type
- Eclipse报错 "Selection 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解决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的方法
- java" selection does not contain a main type"的问题处理方法
- java字符编码转换研究(转)
- js调试中的常见错误
- hdu 4871 Shortest-path tree 树分治
- [2014-09-02]JAVA笔记_枚举(Enumeration)
- J2SE复习之超类
- eclipse中Editors does not contain a main type 图解处理方法
- Ubuntu 开机自动挂载NTFS分区
- Practice-1
- C++泛型算法
- Longest Substring Without Repeating Characters Leetcode
- HDU 3996 Gold Mine(最小割---最大权闭合)
- 非常不错的弹出一个div的js代码
- 服务器编程基础,Socket,IP等
- Linux 目录结构简介