就是在 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。
哥们 你说的具体点 你说的服务器标签where? 首选项里?
追答就是server那个图标。
你如果要是以前能用,突然不好使的话直接右键 clean 下试试。要是第一次不能用就是配置问题。
新版eclipse有很多bug