Editor does not contain a main type错误提示,怎么解决?
来源:互联网 发布:短信王软件 编辑:程序博客网 时间:2024/05/18 12:39
I am trying to run some java files in a new project.So I make the project,put the files in it and I try to RUN the main file so my error problems happened!!!
Thanks for the stack overflow.
the Answer: Right click on the folder where you put your main class then click onBuild Path--> Use as Source Folder.
It worked!!!
OR-->
right click on the package->properties->Java Build Path->Add folder(select the folder your code reside in)
Do work either!!!
好累啊!!!
错误:找不到或无法加载主类。
解决办法:右键工程文件夹-->Build Path-->Use as Source Folder 就解决了。
完美运行!
0 0
- 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错误
- 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
- Editor does not contain a main type
- Eclipse 软件 Java 解决:出现的editor does not contain a main type错误框 问题
- 在Elcipse导入项目时提示: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的解决方案
- sdutacm-求二叉树的深度
- OpenSSL之EVP(二)——EVP系列函数介绍
- 在Spring Boot中输出REST资源
- 笔试练习题002...to be continued...
- [iOS AFNetworking框架实现HTTP请求、多文件图片上传下载]
- Editor does not contain a main type错误提示,怎么解决?
- Python的类型和变量
- sdutacm-数据结构实验之二叉树的建立与遍历
- 在Spring Boot中使用数据库事务
- JS组件系列——表格组件神器:bootstrap table
- 凸优化与对偶问题
- Hello Machine Learning
- hdu 2175 汉诺塔IX(找规律)
- Syntax error or access violation: 1286 Unknown storage engine 'InnoDB' 解决办法