Could not find main method from given launch configuration
来源:互联网 发布:大数据时代 英文版 txt 编辑:程序博客网 时间:2024/06/06 20:13
当我把我的Java工程导出为可运行的jar包时,遇到了“Could not find main method from given launch configuration”错误,但是之前一直都是可以导出运行的。
后来我发现在选择launch configuration的时候是一个下拉列表,这些是我以前运行过的程序入口列表。忘记交代一个事情, 就是我的工程运行类被我移动过包,所以就会出现多个launch。
如果你分辨不清哪个launch是你想要的,简单的做法就是去你的工作目录/.metadata/.plugins/org.eclipse.debug.core/.launches,把这个文件夹清空,重启eclipse。
重新运行下你的项目,再导出就可以了。
转载原文:http://blog.csdn.net/wang_song_yan/article/details/50495316
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
- Jquery中$.post和$.ajax的用法分析
- PHP-json
- Project tango是如何仅凭自身摄像头实现位置追踪的?
- 二叉树前序、中序、后序遍历相互求法
- 动态链接库和静态链接库的区别
- Could not find main method from given launch configuration
- svn: E200033: database is locked解决办法。(转)
- CardView 添加背景图片、改变颜色、水波纹效果的方法
- Linux联网配置
- Markdown编辑器LaTeX 公式
- action中model对象的赋值问题
- project tango sdk 下载地址,虚拟现实AR VR MR 开发第一步,下源码 找sdk
- .bat延时操作
- 彻底删除免安装版mysql