Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
来源:互联网 发布:网络不通怎么解决 编辑:程序博客网 时间:2024/04/27 18:09
今天在一台新的服务器上,用MyEclipse 8.0M1连接Tomcat 7(实在懒得换MyEclipse版本,好不容易找到个可以用的),但是当使用MyEclipse启动Tomcat时,会弹出下面的错误消息,"Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit."
经过搜索以后发现,主要原因可能就是MyEclipse和Tomcat的版本不兼容问题。其实解决方法也很简单,在Tomca 6.x的配置界面中,在"Append to classpath"中选择"Add JAR/ZIP",定位到%Tomcat_HOME%\bin\tomcat-juli.jar,然后再启动Tomcat,就没有问题了。如下图所示:
0 0
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit.
- myeclipse中Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Could not find the main class: org.apache.spark.launcher.Main. 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.
- 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
- IOS小菜鸟养成记00
- 是什么能够两小时写出《flppybird》游戏
- 11g RAC完全安装图解(VM Workstation8.0+Centos5.5)02-Oracle安装
- 用 Python 和 OpenCV 检测图片上的条形码
- 黑马程序员_面向对象(二)
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- Android开发之浅谈内容提供者provider的使用
- 编译内核模块 .ko文件缺少:mmzone.h bounds.h
- IOS游戏 与PHP服务器端的AES通讯加密
- 倒入appcompatv7项目各种报错问题汇总
- servlet生命周期,servlet与CGI的区别
- 关于error:Cannot assign to 'self' outside of a method in the init family
- 单元测试——NUnit测试简单实例
- 搜索引擎怎么做历史搜索词记录