首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Could not find the main class .Program will exit.解决办法

2012-12-21 
Could not find the main class .Program will exit.解决方法这些天用绿色版的tomcat7.0 在1.6的jdk运行环

Could not find the main class .Program will exit.解决方法
这些天用绿色版的tomcat7.0 在1.6的jdk运行环境下的运行程序,自身启动没问题,但是后面让myeclipse去启动就出现问题了,
突然给我报了一个Could not find the main class .Program will exit.的错。我真是郁闷。

在网上查之后都是说什么高版本的不能去编译低版本的。
最后在国外网站上找到了东西,
在这个myeclipse 的tomcat配置中的classpath 中添加一个
tomcat7的tomcat-juli.jar包(tomcat7.0中的bin里面带有)

jar到病除啊。 1 楼 scjingying 2012-08-16   这个不是问题吧。你直接把jdk改成同一个版本就ok了,我也出现过这样的错误

热点排行