"editor does not contain a main type" 错误解决方法
2011-01-06 10:47
507 查看
在eclipse下运行一个java程序,但是出现"editor does not contain a main type"错误。后来是因为为的java程序没有放在src目录下,而是另外建立了一个文件夹,在那个文件夹下run程序就会出现前面所提示的错误。解决方法是在src下创建一个package,包名可以同刚才的文件夹名,然后将java程序拷贝过去再run,这时就没有错误了。
相关文章推荐
- 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" 错误解决方
- 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 软件 Java 解决:出现的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错误框 问题
- java" selection does not contain a main type"的问题处理方法
- 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/myeclipse 解决editor does not contain a main type的方法
- 解决报错:editor does not contain a main type