selection does not contain a main type
来源:互联网 发布:周易算卦知乎 编辑:程序博客网 时间:2024/05/16 07:27
当在Myeclipse中导入一个JAVA的文件系统运行里面的.java文件时,会出现一个错误提示框,
借助一位网友的话解释就是:“出现这个问题,是因为.java文件不在项目的src路径内,也就是说源代码未被eclipse编译,字节码不存在无法运行了 ”
在项目名上右键 -> Builder Path -> Configure Build Path -> 选择Source面板,再点Add Folder。
然后再接着右键点击项目名称,Builder Path -> Use as Source Folder就可以了。
(有错误的地方还望给位网友指出,水平有限,谢谢。)
- selection does not contain a main type
- selection does not contain a main type
- selection does not contain a main type
- selection does not contain a main type
- selection does not contain a main type错误
- selection does not contain a main type的解决方案!
- eclipse selection does not contain a main type
- selection does not contain a main type错误
- win7 eclipse: selection does not contain a main type
- Eclipse报错 "Selection does not contain a main Type"
- selection does not contain a main type错误
- selection does not contain a main type错误
- Eclipse中出现Editor does not contain a main type或者Selection does not contain a main type
- selection dose 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
- jdk jre
- 在vs中调试lua脚本
- android源码资源
- 【ABAP】FIELD SYMBOL和TYPE REF TO的用法和比较
- 一个APP应用开发技术负责人需要了解的东西
- selection does not contain a main type
- 实现LinkedList
- mac下svn问题 —— “.a”(静态库)文件无法上传
- vs2005无法附加进程
- note : GetExitCodeProcess
- u-Boot环境变量的设置
- 新手程序猿如何区分输入流和输出流?
- 2013年11月11日--12月19日(总共50小时,剩4822小时)
- HDU1710利用二叉树的先序和中序输出后序