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

1.错误:

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.

计算机生成了可选文字:国p「o匕lemoccu「red心)'StartinaTomcatv7.0Serveratlocalhost,has~encounteredaproblem·Thearchive:C:/ProgramFiles(x86)IJavaljdkl.7.0--10llibltoolsjarwhich15referencedbytheclasspath,doesnotexist.

2.原因:

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

3.解决:

打开Eclipsetomcat配置,就是双击控制台处的server选项卡中的tomcat,然后选择openlaunch configuration,如下图所示:

计算机生成了可选文字:日overviewGeneralInformationSpecifythehostname卜Pandothercommonsettings.TomCatv7.0Se四erat!OCalhOSt卜下lSe四ername:日OStname:localhost,pM0陌旧旧旧丛迎血吐止迅鱼匹四回止一ApacheTomcatv7·0三Con6gurationpath:/serve「s二omcatv7.oserverat.oca.卜IB「owse日,ServerLocationsSPecifytheserverPoth(i.e.cotolino.bose)。nddeployPath.ServerrnustbePublishedwithnomodulespresenttomakechanges.UseworkSPacemetadata(doesnotmodifyTomcatinstallation)‘国use丁omcatinstallation(takescontrolof丁omcatinstallation)UsecustomIocation(doesnotmodifyTomcatinstallation)卜~

然后:

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

 

 

 

 

 

 

 

转载于:https://www.cnblogs.com/hin24/p/3648292.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值