`
Hermosa_Young
  • 浏览: 254481 次
  • 来自: 上海
社区版块
存档分类
最新评论

There is no Action mapped for namespace [/] and action name [userAction!add]

阅读更多

问题描述:

 

There is no Action mapped for namespace [/] and action name [userAction!add] associated with context path [/MyStruts]

 

在做动态Action实验时,一直出现这个错误,运行如下图所示:

 

在网上找了很多解决方法,都不行,最终解决方法:更换jar包,然后运行,结果成功!

 

之前的jar包,如下图所示:


 

更换为:


 
 
 

  • 大小: 22.6 KB
  • 大小: 7.1 KB
  • 大小: 7.5 KB
分享到:
评论

相关推荐

    一个struts2的例子:彻底解决STRUTS2 错误There is no Action mapped for namespace / and action name login

    前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, ...

    HTTP Status 404 - There is no Action

    在Web开发中,尤其是使用基于Java的Web框架如Struts时,开发者可能会遇到一个常见的问题:“HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit”。这个问题通常出现...

    struts2 HelloWord例字

    在网上找了好个struts2的例子结果都不好使报There is no Action mapped for namespace / and action name这个错,没办法自己搞了个好用的,myeclipse 6.0 +tomcat5.5 + jdk 1.5 引入项目后直接发布就可以了!

    struts2教程-学习笔记.zip

    "There is no Action mapped for namespace and action name错误的解决方法.txt"文档可能详细解释了这个问题的成因,如配置错误、Action类未正确指定、或者struts.properties或struts.xml配置文件中的条目缺失。...

    struts 中遇到的常见问题 解决,你还在痛苦中吗

    本文将针对其中一种常见的错误提示:“There is no Action mapped for namespace / and action name”进行深入分析,并给出相应的解决方法。 #### 二、问题描述 当在使用 Struts 框架开发 Web 应用时,如果配置...

    解决使用struts2 时 访问web工程首页问题

    错误信息通常为:“There is no Action mapped for namespace / and action name.”,这意味着Struts2在尝试处理请求时找不到对应的Action映射。此外,如果设置了默认的欢迎页面(welcome file),但在启动应用后...

    struts2 的异常收集

    HTTPStatus 404 - There is no Action mapped for namespace [/] and action name [user_login] ``` 这通常意味着在`struts.xml`中未为指定的动作名和命名空间配置对应的Action处理类。解决这一问题的关键在于确保...

    Struts2深刻理解所记的笔记

    这有时会导致找不到Action的错误,如"There is no Action mapped for namespace/and action name Login.",需确保在web.xml中正确配置Struts2的FilterDispatcher以加载这些资源。 2. **UI组件与模板引擎**:为了...

    计算机组成与结构体系英文课件:Chapter3 BasicInputOutput

    As these devices typically operate at slower speeds compared to the CPU and RAM, there is a need for I/O interfaces. An I/O device interface acts as a mediator, facilitating data transfer and ...

    Struts2 框架搭建(基本)和几个报错问题

    1. **No Action mapped for namespace [/] and action name [helloWorld]**:这通常意味着Struts2没有找到对应的Action配置。检查`struts.xml`文件是否正确配置了Action。 2. **Class not found**:如果出现找不到...

    struts2.5+框架使用通配符与动态方法常见问题小结

    * There is no Action mapped for namespace [/] and action name [test-update] associated with context path [/Struts2_01]. 这些错误提示通常是由于映射问题引起的。解决这些问题的步骤是: 1. 先排查访问的...

    计算机组成与结构体系英文课件:Chapter3 BasicInputOutput.pdf

    - In this approach, I/O devices and memory share the same address space, meaning that no special commands are needed for I/O operations. Instead, I/O operations resemble memory reads and writes. - ...

    外文翻译 stus MVC

    There is no flow logic, no business logic, and no model information -- just tags. Tags are one of the things that make Struts unique compared to other frameworks like Velocity. Note: "Think thin" ...

    微软内部资料-SQL性能优化2

    To reserve or commit memory and unintentionally not release it when it is no longer being used. A process can leak resources such as process memory, pool memory, user and GDI objects, handles, threads...

    MDB: A Memory-Mapped Database and Backend for OpenLDAP

    本文主要介绍了一种名为MDB(Memory-Mapped Database)的读优化数据库库及其作为OpenLDAP后端的应用。该技术由Howard Chu开发,并在Symas Corp.以及OpenLDAP项目中得到应用。MDB作为一种专门为OpenLDAP设计的内存...

    acpi控制笔记本风扇转速

    is larger than the largest known FADT version, and 2) if there is a mismatch between a 32-bit block address and the 64-bit X counterpart (when both are non-zero.) Example Code and Data Size: These ...

    Fixed comparing against disconnected mapped network drives to pr

    Fixed comparing against disconnected mapped network drives to prompt for username/password and reconnect.

    SSD7 选择题。Multiple-Choice

    When mapping from an ER model to a relational model, a strong entity is mapped into a (a) table (b) row (c) column (d) key Correct answer is (a) 10. Which of the following is true about ...

    Qemu-1.0.1 for windows

    -usbdevice name add the host or guest USB device 'name' -device driver[,prop[=value][,...]] add device (based on driver) prop=value,... sets driver properties use -device ? to print all possible ...

Global site tag (gtag.js) - Google Analytics