问题:通过eclipse来启动tomcat会碰到“访问http://localhost:8080出现404错误”这样的问题,需要在eclipse中进行一系列的设置才行. 解决:打开eclipse的server视图(Tomcat v6.0 Server at localhost-config),双击你配置的那个 Tomcat v6.0 Server at localhost-config ,打开编辑窗口,查看server locations,看看是否选择了第一个选项(默认是第一个选项),即use
最近在学Struts2框架部分的内容,但是eclipse中配置tomcat遇到了很大的问题,当辛辛苦苦的配置完了之后,竟让连小猫的首页都不能访问,http://localhost:8080/输入了之后提示HTTP Status 404 type Status report message /sOffice2/ description The requested resource is not available. 于是乎,心酸的查找bug开始了, (1)首先xxx.jsp文件必须放在WebCon
win7: 8080端口已经被其他应用使用,比如nixxxxxxxxxxxxx When I had an error Access Error: 404 -- Not Found I fixed it by doing the following: Open command prompt and type "netstat -aon" (without the quotes) Search for port 8080 and look at its PID number/code.