社区
Eclipse
帖子详情
启动tomcat时,出错:Could not find the main class. Program will exit.
xingONE
2008-01-23 05:58:32
启动tomcat时,出错:Could not find the main class. Program will exit.
这是怎么回事?请帮助我。
...全文
239
2
打赏
收藏
启动tomcat时,出错:Could not find the main class. Program will exit.
启动tomcat时,出错:Could not find the main class. Program will exit. 这是怎么回事?请帮助我。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Defonds
2008-01-24
打赏
举报
回复
重装tomcat
imA
2008-01-24
打赏
举报
回复
没找到main方法,也就是没找到程序运行的入口。
建议你仔细检查你的jdk安装是否正确,如果确保正确,考虑重新安装tomcat
Eclipse运行异常:Could not find the
main
class
.
Program
will
exit
.
原因:本机上存在多个JDK版本(即:1.4和1.5两个版本),由于的默认JDK版本与Eclipse工具使用的JDK版本不一致,所以产生如上异常。 解决办法:使默认的JDK版本与Eclipse工具使用的JDK版本保持一致即可。...
【急救......】Could not find the
main
class
.
program
will
exit
Java中Could not find the
main
class
.
program
will
exit
和java.lang.Unsupported
Class
VersionError 的解决方法 起初你或许会认为是一个莫名其妙的错误,因为代码根本一点问题的都没有,可运行期间总是报这个...
Could not find the
main
class
.
Program
will
exit
.
问题:Could not find the
main
class
.
Program
will
exit
. 点击确定按钮后弹出 ‘starting
Tomcat
v6.0 Server at localhost' has encountered a problem. Server
Tomcat
v6.0 Server at localhost was unable...
MyEclipse
启动
Tomcat
报错:Could not find the
main
class
: org.apache.catalina.startup
Could not find the
main
class
:org.apache.catalina.startup.Bootstrap.
Program
will
exit
问题原因 主要原因可能就是MyEclipse和
Tomcat
的版本不兼容问题 转载于:...
could not find the
main
class
:
program
will
exit
今天在部署项目
时
不小心把
tomcat
6和
tomcat
7搞混了,在
启动
tomcat
时
报了could not find
main
class
,在网上搜了一下,发现是
tomcat
版本问题,这是因为我们使用高版本的JDK编译的Java
class
文件试图在较低版本的JVM上...
Eclipse
58,447
社区成员
49,461
社区内容
发帖
与我相关
我的任务
Eclipse
Java Eclipse
复制链接
扫一扫
分享
社区描述
Java Eclipse
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章