三默网为您带来有关“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.

2022-09-26 10:26:43

1.错误:

在Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

2.原因:

这是因为我中途移动过tomcat的位置的缘故,而Eclipse中对于tomcat配置却没有改变。

3.解决:

打开Eclipse中tomcat配置,就是双击server选项卡中的tomcat,然后选择open launch configuration,如下图所示:

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.

如上图所示,我标注出了错误路径,将这个错误路径删除,并保证正确配置tools.jar和bootstrap.jar这两个jar包的路径。


本文转自xwdreamer博客园博客,原文链接:http://www.cnblogs.com/xwdreamer/archive/2012/01/11/2318656.html,如需转载请自行联系原作者