[Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup.Boostrap.
来源:互联网 发布:今创集团 常州知 编辑:程序博客网 时间:2024/06/04 17:47
今天在一台新的服务器上,用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
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup.Boostrap.
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup……
- myeclipse中Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- tomcat启动报错,logs/catalina.out:Could not find or load main class org.apache.catalina.startup.Bootstr
- tomcat启动报错,logs/catalina.out:Could not find or load main class org.apache.catalina.startup.Bootstr
- 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.
- tomcat日志报错Could not find or load main class org.apache.catalina.startup.Bootstrap
- 启动tomcat的时候报错信息如下:. Could not find the main class: org.apache.catalina.startup.Bootstrap. Program wi
- tomcat Could not find or load main class org.apache.catalina.startup.Bootstrap
- Tomcat7.0 start Could not find the main class: org.apache.catalina.startup.Bootstrap.
- 启动Tomcat报错:Could not find the main class
- 用MyEclipse启动tomcat 报错Could not find the main class
- 用MyEclipse启动tomcat报错Could not find the main class
- 用MyEclipse启动tomcat 报错Could not find the main class
- [一点感想]学国内的大学课本,不如去看维基百科
- 最简单的AspectJ实验环境搭建
- [Soot学习笔记][5]Soot依赖的两个框架
- [Java Path Finder][JPF学习笔记][4]将JPF源码导入Eclipse
- [Java Path Finder][JPF学习笔记][5]编译jpf-symbc报错的解决方法
- [Web开发笔记][3]MyEclipse 8.0启动Tomcat 7报错:Could not find the main class: org.apache.catalina.startup.Boostrap.
- 评一篇文章(Experiments of the effectiveness of dataflow- and controlflow-based test adequacy criteria)
- Eclipse调试经验
- Win 7+Word 2007第一遍打开报错“向程序发送命令时出现错误”的解决方法
- 第一篇日志
- Win 7+Word 2007仿宋和楷体不能正常显示的解决方法
- 在Win7上使用LaTex
- 几个基本概念辨析:流敏感,路径敏感和上下文敏感
- 随机测试框架Randoop的简单使用