解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

时间:2021-12-01 09:40:46

1.错误症状:右击tomcat server,选择start,出现下图所示错误

解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

2.错误原因:

  我为了方便管理,把tomcat安装到了当前的eclipse-project目录下:E:/workspace/xxx_project/apache-tomcat-6.0.37,如下图所示

  解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

  另外,也有可能是bootstrap.jar的路径配置错误,可以双击该server配置,见解决方案

3.解决方案

  针对我目前的问题,把tomcat的安装路径挪到另一个位置即可,不要安装到跟你的web-project的目录在同一个位置(尤其是eclipse创建的project),例如E:/apache-tomcat-6.0.37

  如果是bootstrap.jar的路径配置错误,那么解决方案如下图所示:

解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

解决Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.