1.把你工作空间文件夹下的如下路径打开:
然后删除 .snap 文件,我在eclipse打开的情况下有这个.snap文件,但是当我关闭eclipse再看这个文件夹的时候,发现.snap文件不见了,所以这个办法没有使用成功,网上说有人使用成功了。大家可以试一下。
2.把你工作空间文件夹下的如下路径打开:
web.xml里的内容被修改或者修改的格式不正确
1、In Eclipse, Open the "Server" tab.
2、Double click on the "Tomcat6" entry to see the configuration.
3、Then click on the "Open launch configuration" link in the "General information" block.
4、In the dialog, select the "Classpath" tab.
5、Click the "Add external jar" button.
6、Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar"
7、Close the dialog.
8、Start tomcat 6 from Eclipse.
来自:http://stackoverflow.com/questions/1392383/server-tomcat-v6-0-server-at-localhost-failed-to-start
同问,同样遇到这样的问题
这是你的tomacat没有安装好。你试试找到tomcat的安装目录的conf下面,有一个startup.bat文件,你双击打开,如果能正常启动的话,是你部署到myeclipse中出错了。重新部署下。如果不能正常启动的话,是你的tomcat没有安装好,建议立刻重新解压,安装。。有时候解压也会影响安装的。