但是SSH中404不一定是以下错误! 是配置问题 HTTP Status 404 -
HTTP Status 404 - //
--------------------------------------------------------------------------------
type Status report
message //
description The requested resource (//) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.18
在百度搜索了,得到了提示:
原因:servlet没有配置正确 ,查看web.xml确认正确,以及自己的请求路径正确。
解决:在MyEclipse中点开web.xml查找了n遍,web.xml配置的没有一点错误。然后到程序中查找各个请求的路径,也没有错误。查找了好半天,终于找到了,原来是我在MyEclipse重构的时候复制web.xml的时候,不小心把它复制到了WEB-INF中的lib文件夹中了。当时没有察觉,浪费了我好多时间。把web.xml拖出来放到WEB-INF中就解决了。
HTTP Status 404
在IE中提示“404”错误有以下三种情况
I.未部署Web应用
II.URL输入错误
排错方法:
首先,查看URL的IP地址和端口号是否书写正确。
其次,查看上下文路径是否正确 Project--------Properties------MyElipse-----Web-----
Web Context-root检查这个路径名称是否书写正确。
最后,检查一下文件名称是否书写正确。
III.目录不能被引用
排错方法:
在 Eclipse的“包资源管理器(Package Explorer)”检查文件存放的位置。由于META-INF
WEB-INF文件夹下的内容无法对外发布,所以,如果你引用了带这两个目录的文件,肯定是不允许。例如: http://localhost:8080/guestbook/WEB-INF/index.html就是错误的
文件位置存放错误。
zz:http://hi.baidu.com/moonhai/blog/item/1fbfd1dfad063d5395ee37e4.html
分享到:
相关推荐
HTTP Status 404 解决方案总结 HTTP Status 404 是一个常见的错误代码,它表示请求的资源不可用。在本文中,我们将讨论七种常见的解决方案,以帮助开发者快速解决该问题。 1. 未部署 Web 应用 如果您遇到了 HTTP ...
错误提示如下图: 出现这种情况的原因通常是因为先安装了Framework,后安装的IIS; 运行cmd,输入: 代码如下:C:\Windows\Microsoft.NET\Framework\V4.0.30319\aspnet...Win7中IIS出现“HTTP 错误 404.17 – Not Foun
IIS访问ASP页面时报错The requested resource is in use.的解决办法
xp用的ChromeStandalone 48.0.2564.116,是最后第二个版本。
2013年12月7日最新SSH整合Jar包
description The requested resource (Servlet action is not available) is not available. -------------------------------------------------------------------------------- Apache Tomcat/5.5.25的问题
Amazon 卖家接口Demo,官方Demo一堆错误,千万不要被误导。 解决: 1、Access to requested resource is denied 2、The security token included in the request is invalid 有疑问可提问
k8s的16版本安装的时候,dashboard 出现k8s dashboard the server could not find the requested resource的问题。重新换一个2.0版本的dashboard即可。
静态文件访问不到报No 'Access-Control-Allow-Origin' header is present on the requested resource处理办法
备注: System.IO.DriveInfo[] drives = System.IO.DriveInfo.GetDrives(); 在unity下使用会报错 NotImplementedException: The requested feature is not implemented. 本方法在unity下可以使用/
git首次提交代码到远程仓库提示413错误,错误信息如下 git push --set-upstream origin master Enumerating objects: 153, done. ... HTTP 413 curl 22 The requested URL returned error: 413 Req
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. doFilter(ServletRequest, ...
Struts Logic标签库中包含的标签列表 Tag name Description empty 如果标签parameter,...notEqual Evaluate the nested body content of this tag if the requested variable is not equal to the specified value.
在排除没有登录和网络的原因:我还是报的如下错误 原因镜像的名字没有按照...The push refers to repository [docker.io/langxuhao/my_redis] cd1b418d5a74: Pushed ddf2402ca3ea: Pushed 00352274272b: Pushed a0e3c
plink 150m迷你型无线路由器出故障该怎么办?plink 150m联网以后发现没有信号,设备连不上去,该怎么办呢?今天我们就来看看plink 150m路由器故障的两种解决办法,需要的朋友可以参考下
apache启动报错:the requested operation has failed解决办法的几种解决方法!
Apache无法启动解决_the_requested_operation_has_failed
s60 手机设备信息检测源码 s60 手机设备信息检测源码 s60 手机设备信息检测源码
ajax 如何使用不同namespace的action 如我的question_save在/question命名空间,那我ajax的url写成:”../question/question_save.aciton” ...和the requested resource is not available. 您可能感兴趣的