启动tomcat的时候报错信息如下:. Could not find the main class: org.apache.catalina.startup.Bootstrap. Program wi

此错误的解决方案如下:

  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.

(参考于http://stackoverflow.com/questions/1392383/server-tomcat-v6-0-server-at-localhost-failed-to-start

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页