Could not find main method from given launch configuration
来源:互联网 发布:淘宝快递占比丽 编辑:程序博客网 时间:2024/06/16 08:40
当我把我的Java工程导出为可运行的jar包时,遇到了“Could not find main method from given launch configuration”错误,但是之前一直都是可以导出运行的。
后来我发现在选择launch configuration的时候是一个下拉列表,这些是我以前运行过的程序入口列表。忘记交代一个事情, 就是我的工程运行类被我移动过包,所以就会出现多个launch。
如果你分辨不清哪个launch是你想要的,简单的做法就是去你的工作目录/.metadata/.plugins/org.eclipse.debug.core/.launches,把这个文件夹清空,重启eclipse。
重新运行下你的项目,再导出就可以了。
请关注我的新浪微博
0 0
- Could not find main method from given launch configuration
- Could not find main method from given launch configuration
- Could not find class '****', referenced from method #####
- Could not find class '****', referenced from method #####
- could not find 'xxx.program' specified for main method
- Could not find method问题解决
- Could not find main class
- Could not find main class
- Could not find s3_store_host in configuration options
- The builder launch configuration could not be found
- The builder launch configuration could not be found
- Could not find class 'org.ksoap2.serialization.SoapObject', referenced from method cn.edu.bzu.soap.S
- AChartEnginee Could not find class 'org.achartengine.chart.PointStyle[]', referenced from method xxx
- Could not find class 'org.ksoap2.serialization.SoapObject', referenced from method cn.edu.bzu.soap.S
- Could not find class 'android.support.v4.view.ViewPager', referenced from method***
- Could not find class 'android.support.v4.view.ViewPager', referenced from method***
- Link of class ""failed.Could not find class "" referenced from method的解决方法
- Could not find class 'org.achartengine.model.XYMultipleSeriesDataset', referenced from method com.ex
- ORACLE索引
- ios应用增加给appstore评分和进入app安装页面代码功能
- NodeJS:通过EventEmitter为对象注册和触发事件
- 发送邮件的plsql代码
- iOS多线程的初步研究(二)-- 锁
- Could not find main method from given launch configuration
- Android项目框架的搭建
- mysql5.7.10 centos 6.5下安装
- Spring中的${jdbc.*}失效解决方法
- iOS多线程的初步研究(三)-- NSRunLoop
- ORACLE中MINUS,INTERSECT和UNION ALL图解
- jQuery EasyUI使用教程之格式化数据网格列
- linux 时间同步
- pos函数的使用