关于MyEclipse中配置Tomcat出错问题云云
2011-12-08 15:24
435 查看
问题:在配置好Tomcat后运行Tomcat6.x一直出现Could not find the main class org.apache.catalina.startup.Bootstrap.Program will exit.字样。
条件:环境变量正确,直接启动startup.bat时一切正常,说明问题出在MyEclipse配置中;网上有人说是JDK1.7.0的版本问题,于是换成1.6.0,但是问题依旧,说明出错原因并非版本不兼容。
解决方法:
1. In Eclipse, Open the “Server” tab.
2. Double click on the “Tomcat6″ entry to see the configuration.
3. Then click on the “Open launch configuration” link in the “General information” block.
4. In the dialog, select the “Classpath” tab.
5. Click the “Add external jar” button.
6. Select the file “/usr/share/tomcat6/bin/tomcat-juli.jar”
7. Close the dialog.
8. Start tomcat 6 from Eclipse.
条件:环境变量正确,直接启动startup.bat时一切正常,说明问题出在MyEclipse配置中;网上有人说是JDK1.7.0的版本问题,于是换成1.6.0,但是问题依旧,说明出错原因并非版本不兼容。
解决方法:
1. In Eclipse, Open the “Server” tab.
2. Double click on the “Tomcat6″ entry to see the configuration.
3. Then click on the “Open launch configuration” link in the “General information” block.
4. In the dialog, select the “Classpath” tab.
5. Click the “Add external jar” button.
6. Select the file “/usr/share/tomcat6/bin/tomcat-juli.jar”
7. Close the dialog.
8. Start tomcat 6 from Eclipse.
相关文章推荐
- 关于myeclipse10中配置tomcat7出现的问题
- myeclipse中关于Tomcat和JDK的配置问题总结
- 关于 App.config文件出错,配置系统未能初始化。 问题解决方案
- Myeclipse配置tomcat出现的问题
- 关于在eclipes中配置tomcat不能显示主页面问题
- 关于在myeclipse中添加maven的配置问题 以及使用
- 关于Tomcat配置基于端口号虚拟主机时Engine元素的问题
- 关于Tomcat配置https/SSL报“No Certificate file specified or invalid file format”的问题
- Tomcat关于路径的配置问题<一>
- myeclipse中tomcat 7.0 关于64位与32位的冲突问题 ( tcnative-1.dll )
- 关于TOMCAT配置多个连接池的问题
- 关于在eclipes中配置tomcat不能显示主页面问题
- 关于tomcat发布的工程jar包配置问题
- 关于在myeclipse中添加maven的配置问题 以及使用
- 关于在myeclipse中添加maven的配置问题 以及使用
- 关于TOMCat虚拟主机配置后工程启动几次的问题
- myeclipse配置 tomcat出现Value must be an existing directory问题
- 关于javamelody配置后,工程出错问题
- 解决:关于MyEclipse下关联Tomcat7时运行出错
- 20140918遇到的问题------JAVA------MyEclipse配置Tomcat出现的问题