在昨晚用struts+spring+hibernate做注册页面时,一路上下来都非常的顺利,但在运行时能出现注册的页面,一点击注册,就出现了以下的页面:

type Status report

    message Servlet action is not available

    description The requested resource (Servlet action is not available) is not available.

上网查了好多的答案,网上有很多的解释,出错的地方有很多中,最后我看到一位仁兄的一句话:

“>The requested resource (Servlet action is not available) is not available

这些都是StrutsSpring基本配置出现问题,struts配置在web.xml中检查一下,Spring的配置也是web.xml,确认没有问题 ”,让我缩小了搜索的范围,于是我老老实实的把web.xml 、applicationContext.xml、struts-config.xml这几个文件检查了一遍,不出我所料,在web.xml中我把

  1. <context-param>
  2. <param-name>contextConfigLocation</param-name>
  3. <param-value>
  4. /WEB-INF/classes/applicationContext.xml
  5. </param-value>
  6. </context-param>

中contextConfigLocation的L写成l了, 把我痛苦了一个晚上,甚至都打算将苦苦配置起来的环境再配置一遍了,感谢那位仁兄啊,所以我给以后发生这种情况的同仁一个忠告:

只要出现  The requested resource (Servlet action is not available) is not available这种情况的首选就是好好检查web.xml 、applicationContext.xml、struts-config.xml这几个文件。

The requested resource (Servlet action is not available) is not available.这个问题让我通宵了一个晚上相关推荐

  1. HTTP Status 404 - The requested resource (/Test/loginSerlet) is not available.

    像我这种菜鸟,刚刚开始学习JSP知识~~ HTTP Status 404 - /Test/loginSerlet type Status report message /Test/loginSerle ...

  2. 全网多种方式解决The requested resource [/] is not available的错误

    文章目录 1. 复现错误 2. 分析错误 3. 解决错误 3.1 本地项目 3.2 线上项目 4. 此错误的其他解决方法 1. 复现错误 曾记得,当初使用idea来写Java web项目时,常常因为T ...

  3. JSP调试遇到“the requested resource is not available”

    最近在尝试做一个动态网站项目,利用JSP+Java开发,可是刚开始做个登录界面就被一个难题给困住了,那就是一输入网址就出现404错误"the requested resource is no ...

  4. 解决跨域问题:No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. PS:如果遇到 这个问题 Request header field Content-Type is ...

  5. linux http status404,解决问题:HTTP Status 404(The requested resource is not avail

    IE错误如下: HTTP Status 404 - /streetManager/index.jsp type Status report message /streetManager/index.j ...

  6. HTTP Status 404(The requested resource is not available)(转)

    原文地址:http://hi.baidu.com/moonhai/blog/item/1fbfd1dfad063d5395ee37e4.html HTTP Status 404(The request ...

  7. The requested resource(/)is not available问题

    HTTP Status 404 - /stove type Status report message /stove description The requested resource (/stov ...

  8. 解决xxx by CORS policy: No ‘Access-Control-Allow-Origin‘ header is present on the requested resource问题

    文章目录 问题复现 跨域现象 什么是跨域 为什么要跨域 同源策略 什么是同源策略 为何存在同源策略 解决跨域问题 其他解决跨域问题的方案 JSONP CORS 跨域资源共享 前端设置 服务器设置 反向 ...

  9. The requested resource (/) is not available

    The requested resource (/) is not available HTTP Status 404(The requested resource is not available) ...

最新文章

  1. 【项目实战】基于python的 p2p 贷后指标全自动日报制作
  2. yaml文件解析:c++篇
  3. 在Idea中为项目添加Tomcat配置
  4. 思科模拟器Cisco Packet Tracer 的安装与使用(汉化教程)
  5. 计算机网络考研知识点总结,2020计算机专业考研的计算机网络部分知识点
  6. 微信群总是有人发广告?看我用Python写一个自动化机器人消灭他!
  7. 隐函数求导公式(多元隐函数存在定理)
  8. tp-link与台式计算机连接教程,【详细图解】TP-Link TL-WDR6510路由器电脑设置教程...
  9. mysql5.7 1698 28000_MySqlError1698(28000)问题的解决方法
  10. c语言哑铃,使用一副哑铃,做好8个动作,就能练遍全身肌肉
  11. mac os 直接打开html文件,macos – 在Mac OS X上打开磁盘设备文件以进行写访问
  12. 游戏时弹出内存不能为read的提示框
  13. 中文计算机核心期刊目录
  14. python报错:UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa3 in position 48
  15. 怎么制作视频的动态字幕?
  16. java.lang.ClassNotFoundException: sun . jdbc . odbc . JdbcOdbcDriver
  17. 阿里正式启动2021届春季校招!字节跳动Android面试凉凉经,实战解析
  18. 使用c语言求和与求平均数
  19. 传奇服务器脚本文件在哪个文件夹,传奇服务端每个文件夹的含义
  20. 龙族路明非和零h_后宫文<路明非的幸福生活>主CP路零诺

热门文章

  1. c++ C2001 常量中有换行符
  2. python语言表示语句结构_python基础语言以及if/while语句结构
  3. 圆圈中最后剩下的数字 ----《剑指offer》面试题45
  4. Establishing SSL connection without server‘s identity verification is not recommended.
  5. POJ1502 信息传递(单源最短路径)
  6. 日志分析篇---Linux日志分析
  7. for 循环语句基本用法及示例
  8. 小程序如何逐渐改变我的手机使用习惯?
  9. 根据结构体数组中某一数据项对结构体数组排序
  10. BeautifulSoup的高级应用 之 find findAll