eclipse 启动tomcat 总提示“Publishing to Tomcat v6.0 Server at localhost 怎么解决

就是在 eclipse 中把项目启动在Tomcat v6.0 Server 上时 先是不Starting Tomcat 而是"Publishing to Tomcat v6.0 Server at localhost ...."啊。。。。。

eclipse 启动tomcat 总提示“Publishing to Tomcat v6.0 Server at localhost是设置错误造成的,解决方法为:

1、依次点击Window->Show View->Other。

2、找到Server,点击OK,看到控制台旁边已有Server了。

3、点击server下面的链接,依次选择Apache,根据自己的tomcat选择版本。点击next。

4、选择自己tomcat的路径,选择jre版本,点击继续。

5、若有web项目,可进行Add添加,否则点击Finish. 配置完毕。

6、后可以右键Add and Remove配置项目。

7、启动tomcat。

温馨提示:内容为网友见解,仅供参考
第1个回答  推荐于2017-08-06
你使用eclipse工具部署到tomcat6.0了嘛?
或者
你在tomcat6的conf/catalina/localhost里面些配置了嘛?

二选一本回答被网友采纳
第2个回答  2017-08-02
publish发布,当然要先发布再运行
第3个回答  2012-08-02
今天我也遇到了类似的问题。。。结果不是tomcat出现问题,也不是eclipse的bug,是项目里面的某些配置文件有问题,在这里帮助一些以后有需要的朋友。。。
第4个回答  2011-12-23
In Eclipse, Open the "Server" tab.
Double click on the "Tomcat6" entry to see the configuration.
Then click on the "Open launch configuration" link in the "General information" block.
In the dialog, select the "Classpath" tab.
Click the "Add external jar" button.
Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar"
Close the dialog.
Start tomcat 6 from Eclipse.追问

哥们 你说的具体点 你说的服务器标签where? 首选项里?

追答

就是server那个图标。
你如果要是以前能用,突然不好使的话直接右键 clean 下试试。要是第一次不能用就是配置问题。
新版eclipse有很多bug

本回答被提问者采纳
相似回答