tomcat移动位置后相关问题解决方案

来源:互联网 发布:淘宝优站从哪里进去 编辑:程序博客网 时间:2024/06/05 21:11
问题1:启动tomcat时候报错:The archive: E:/eclipse/tomcat/apache-tomcat-6.0.35/bin/bootstrap.jar which is referenced by the classpath, does not exist.
解决方法:双击下方窗口中的Servers中的下面的 Tomcat v6.0 Server at  localhost,找到open launch configuration,打开classpath选项卡,移除bootstrap.jar,然后在正确的tomcat安装路径下找到bin下的这个jar包添加进去,点击apply,ok;

-----------------------------------------------------------------------------------------------------------------
问题2:启动tomcat时报错:The archive: D:/eclipse/jdk7/lib/tools.jar which is referenced by the classpath, does not exist.同上个,打开classpath选项卡后,看tools.jar的路径还存在不,如:我的是C:\Program Files\Java\jdk1.6.0_02\lib,因为重装系统了,这个jdk路径就不存在了,我又下了个jdk重新安装,配置jdk的环境变量,重启eclipse,这个问题就没了

-----------------------------------------------------------------------------------------------------------------
问题3:启动tomcat时报错:The specified Tomcat installation directory does not exist.指定的tomcat安装目录不存在
解决方法:window-perferences-server-Runtime environment,将邮编的server run environment中的内容移除再重新添加,因为其中有指定tomcat的安装路径,这个tomcat的位置变了,这个要重新设置一下
0 0
原创粉丝点击