最近同事的项目在eclipse中启动老有问题,console中显示项目在tomcat中已经启动成功了,但是eclipse右下角还显示tomcat在starting.....starting你妹啊。。。最后结果就是启动超时。网上有很多说法,什么加长超时时间,加大JVM,清理项目,换tomcat,重新下载项目,换工程目录。。。通通没用。。。邪了门了。。。难道是灵异事件+人品败坏么。。。不能够吧。。。
项目直接放在外面的tomcat中能够正常启动,并使用。
最后,终于感谢天感谢地,解决了,在stackoverflow上,一位哥们儿的一句话,点醒了我们,
链接:http://stackoverflow.com/questions/12799265/tomcat-is-not-starting-up-in-eclipse
原话:I was able to figure it out. Currently I am not able to remember on application (software) running behind. (install by network admin) for IP/Port related configuration.
我们的情况:我们这位同事打开了一个代理proxifier,导致端口占用了,关了该软件就可以用了。
或者是先启动eclipse里的tomcat,再打开proxifier也可以。