`

There is no Action mapped for action name plist. - [unknown location]

阅读更多
环境:

eclipse,tomcat

在struts.xml配置一个package和action后,浏览器访问http://localhost:8080/sshTest/day05/plist一直报错:

There is no Action mapped for action name plist. - [unknown location]。发现之前配置过的action依然能访问,查了很久。

排错:

1.struts.xml文件名无错误。

2.struts.xml文件放置路径src目录下无错误。

3.struts.xml编写午错误。

4.查看编译后放的位置,我是放到tomcat目录下:E:\tools\developTool\Tomcat7.0\webapps\sshTest\WEB-INF\classes\struts.xml

5.查看E:\tools\developTool\Tomcat7.0\webapps\sshTest\WEB-INF\classes\struts.xml内容,为何我刚添加的package和action怎么不见了?难道是缓存?于是把tomcat停掉,把运行的该项目手动从E:\tools\developTool\Tomcat7.0\webapps\目录下删除,重新add项目,clean一下,E:\tools\developTool\Tomcat7.0\webapps\目录下又生成该项目,再次检查,怎么还是没有后添加的package和action


把其它web项目close掉了,也不顶事,唉,不知道是什么原因了,可能是之前换了电脑,重做了系统导致的吧,只能把项目重载一下了
  • 大小: 175.3 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”。这个问题通常出现...

    hibernate_reference.pdf

    - **Hibernate Configuration**: You'll set up the `hibernate.cfg.xml` file, which contains essential configuration settings for Hibernate, including database connection details and the location of ...

    HX8357-A01_T_DS_v03_090520.pdf

    - **Display Data GRAM Mapping**: Explains how the display data is mapped into the internal GRAM. - **Address Counter (AC) of GRAM**: Describes the mechanism for addressing the GRAM, including system ...

    HX8340-B_V01_20071203.pdf

    - **GRAM to Display Address Mapping**: Explains how the pixel data is mapped from the GRAM to the display. #### 7. Functional Description The functional description provides detailed insights into ...

    Unix Commands (Aix Freebsd Hpux Linux Solaris & Tru64)

    Understanding these differences and similarities is essential for managing users and files effectively across different Unix systems. Administrators should refer to specific documentation or manuals ...

    P25Q40H.pdf

    - **Address Mapping** (Page 20): Provides details on how addresses are mapped to the memory locations, including sector and page boundaries. #### Device Operation: - **Device Operations** (Page 22): ...

    Life After BerkeleyDB- OpenLDAP's Memory-Mapped Database

    - **Direct Access to Memory**: The entire database is mapped into virtual memory, and all data fetches are performed through direct access to the mapped memory instead of using intermediate buffers or...

    plib源代码(The PLIB Portable Interactive Applications Library distribution)

    FNT -- OpenGL texture-mapped font Library. PW -- A minimalist windowing library. PSL -- A C-like scripting language. SSG -- A Simple Scene Graph API built on top of OpenGL. NET -- Some Networking ...

    struts_2.3.12GA_API文档(chm版本)

    --------------------------------------------------------------------------------...Map with errors mapped from fieldname (String) to Collection of String error messages ---------------------------------...

    jz4760 program manual

    In summary, the JZ4760 Mobile Application Processor is a highly capable SoC designed for mobile applications, offering a robust combination of processing power, multimedia capabilities, and ...

    S7A驱动720版本

    logical name of the driver device, which is requested, must be entered . Example: "!switch:D11" delivers the state of the driver device with the name "D11". This function is also available via ...

    leetcode伪代码-unique-morse-code-words:独特的莫尔斯电码词

    leetcode伪代码unique-morse-code-...[".-","-...","-.-.","-..",".","..-.","--.","....", "..",".---","-.-",".-..","--","-.","---",".--.","- -.-",".-.","...","-","..-","...-",".--","-..-","-. --","--.."]

    str750xfSoftware

    In conclusion, the STR75x Software Library is an invaluable resource for developers working with STR75x devices. By providing comprehensive support through detailed documentation and well-designed ...

    计算机组成与结构体系英文课件: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. - ...

    Shader Sandwich

    Shader Sandwich is a layer based shader editor for Unity that allows you to create in an intuitive yet powerful environment, designed for artists rather than programmers. It comes with example ...

    EurekaLog_7.5.0.0_Enterprise

    7)....Fixed: "Ask for steps to reproduce" dialog is now DPI-aware 8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: ...

    struts2教程-学习笔记.zip

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

    servlet2.4doc

    Returns the servlet container attribute with the given name, or null if there is no attribute by that name. getAttribute(String) - Method in class javax.servlet.ServletRequestWrapper The default ...

    Blast2KEGG-开源

    Blast2KEGG提供了一种方法,可通过其注释将预测的基因映射至途径,然后在KEGG图上进行绘制。 它执行从酶名称到EC号的模糊匹配。 此应用程序中集成了注释编辑器和基因组浏览器。

Global site tag (gtag.js) - Google Analytics