社区
Java SE
帖子详情
Counld not find the main class
lilinew
2009-07-22 01:41:28
我新建立的web工程,选择run as ... java application,
之后选择确定
为什么总是提示 :
java virtual machine launcher
Counld not find the main class. Program will exit.
到底什么原因?
...全文
148
7
打赏
收藏
Counld not find the main class
我新建立的web工程,选择run as ... java application, 之后选择确定 为什么总是提示 : java virtual machine launcher Counld not find the main class. Program will exit. 到底什么原因?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
lilinew
2009-07-22
打赏
举报
回复
我早搭建了tomcat。
如果这样 我直接写java代码,不需要编译??
紫炎圣骑
2009-07-22
打赏
举报
回复
你工程运行的有main方法的类是哪个呢?
lilinew
2009-07-22
打赏
举报
回复
这个问题必须搞清楚 的 。该如何编译这个工程的 新建立的 java bean包 ,jsp文件 , 如何选择菜单项 (初学者 抱歉)。 (否则成笑话)
zhuhichn
2009-07-22
打赏
举报
回复
web工程要在服务器上才能运行,以搭建一个环境就可以。用tomcat搭建就行。
lilinew
2009-07-22
打赏
举报
回复
"你建的是"web工程", 怎么能run as java application呢????"---Dan1980
对的,大概就是这个原因。
那么我该如何编译这个工程的 新建立的 java bean包 ,jsp文件 , 如何选择菜单项 (初学者 抱歉)
teemai
2009-07-22
打赏
举报
回复
工程运行??
Dan1980
2009-07-22
打赏
举报
回复
你建的是"web工程", 怎么能run as java application呢????
could not find the
main
class
,program will exit
Eclipse 编译时遇到错误could not find the
main
class
,program will exit的解决方法
解决 Can not find the
main
class
. Program will exit. 难题
解决 Can not find the
main
class
. Program will exit. 难题
could not find the
main
class
could not find the
main
class
'A JNI error has occurred,please check your installation and try again' 创建项目的时候,选择JRE时要选择第二个,选择第一个就会报这样的错误。...
jAVA not find
main
_Eclipse中提示Could not find the
main
class
之解决
今天笔者在Eclipse中调试代码,突然报了这么一个错:Could not find the
main
class
,programwillexit。没有找到主类?上午调试还好好的啊!
class
类以及
main
方法都是通过IDE自动创建的,你现在跟我说找不到主类?...
idea intellij 执行Groovy发生Could not find the
main
class
问题
idea intellij 发生Could not find the
main
class
问题 用idea intellij导入Groovy和java混在的工程后,执行groovy时一直报错Could not find the
main
class
,groovy环境变量都配好了没问题,还以为是java和groovy不...
Java SE
62,614
社区成员
307,326
社区内容
发帖
与我相关
我的任务
Java SE
Java 2 Standard Edition
复制链接
扫一扫
分享
社区描述
Java 2 Standard Edition
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章