eclipse 中 editor does not contain a main type错误
来源:互联网 发布:网络管理基本功能 编辑:程序博客网 时间:2024/05/23 05:08
本文针对新人,高手请移步。
拿到公司的一个meaven项目,运行其中一个文件的main方法,提示editor does not contain a main type。
在eclipse里面创建项目,都是有默认的项目结构,默认的java源码路径以及class文件输出路径。
由于公司项目和eclipse的默认项目结构不同,导致eclipse默认的源码路径有问题,所以需要在eclipse中配置路径,如下:
右键单击项目——>build path——>configure build path
删掉source下原有的路径,添加自己项目中的源码文件夹即可。
阅读全文
1 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或者Selection 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" 错误解决方法
- 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错误框 问题
- eclipse 中运行代码 出现:editor does not contain a main type
- Eclipse下有main函数类运行报错:Editor does not contain a main type
- 查看linux磁盘空间
- Node.js 用模块组织代码
- 容器技术简介
- height:100%不起作用!
- SimpleDateFormat 使用方法和中英文时间格式化转换
- eclipse 中 editor does not contain a main type错误
- java-异常
- 八款Android 开发者必备的小工具
- ajax开发:ajax三级省市区联动
- POJ-2777
- 畅通工程——并查集(转)
- POJ 1679 The Unique MST(次小生成树)
- java类加载机制
- Mysql创建表问题