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

Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:The archive: C:/Program Files(x86)/Java/jdk1.7.0_10/lib/tools.jar which is referenced by the classpath, doesnot exist.

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

解决办法:

1.双击servers选项下的tomcat,打开如下界面:

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

然后点击 Open launch configuration 

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

依次核对上面两个jar包的路径是否正确。