Could not find the main class ***.Program will exit
来源:互联网 发布:div如何调用js函数 编辑:程序博客网 时间:2024/06/11 15:36
在Eclipse一个包中运行Java程序,结果提示找不到main函数,明明写的有main函数,不知道错误在哪,并且包里之前写的程序都能正确运行,现在新建的类都不能运行。
原来是之前加载一个jar包,之后又把这个包删了,所以出现错误的路径。
解决办法:删除错误的jar包引入项。
在项目:build path-->configure build path-->libraries删除错误项。
0 0
- Could not find the main class. Program will exit
- could not find the main class. Program will exit.
- Could not find the main class. Program will exit...
- Could not find the main class. Program will exit
- Could not find the main class.Program will exit.
- Could not find the main class. Program will exit.
- junit:could not find the main class Program will exit
- [Eclipse] Could not find the main class. Program will exit
- could not find the main class : program will exit
- Could not find the main class. Program will exit
- 【解决方法】Could not find the main class Program will exit
- Could not find the main class Program will exit
- Could not find the main class: *****.Program will exit
- Could not find the main class. Program will exit.
- Could not find the main class ***.Program will exit
- Could not find the main class. Program will exit.
- Could not find the main class. Program will exit
- could not find the main class : program will exit解决方案
- VS2008 如何设置mfc对话框最小化
- 笔记本HDMI接口输出视频流的配置
- 在vc 6.0中配置运行openMP的环境
- 第14周-项目2-形状类族中的纯虚构函数 .
- 条款19:设计class犹如设计type
- Could not find the main class ***.Program will exit
- “大型票务系统”和“实物电商系统”在支付方面的区别和联系
- 病毒木马经常呆的地方
- 关于flash安全性的关键tips
- 选择排序
- 读Head First设计模式小结
- 嵌入式 如何使用jlink从flash中读取数据保存为bin文件到本地
- JD 题目1040:Prime Number (筛法求素数)
- cocos2d-x 模态对话框的实现