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

Counld not find the main class解决方案

2012-01-14 
Counld not find the main class我新建立的web工程,选择run as... java application,之后选择确定为什么总

Counld not find the main class
我新建立的web工程,选择run as ... java application,
之后选择确定
为什么总是提示 :  

java virtual machine launcher
Counld not find the main class. Program will exit.

到底什么原因?

[解决办法]
你建的是"web工程", 怎么能run as java application呢????
[解决办法]
工程运行??


[解决办法]
web工程要在服务器上才能运行,以搭建一个环境就可以。用tomcat搭建就行。
[解决办法]
你工程运行的有main方法的类是哪个呢?

热点排行