`

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

    HTTP Status 404 - There is no Action mapped for namespace and action name BackMemberGroupAudit..doc

    weblogic安装部署以及常见问题解决

    该文档对weblogic使用过程中,包括下载,安装,部署...6. weblogic部署war包action不能访问问题解决方法 [There is no Action mapped for namespace / and action name]. 5 7. java.lang.StackOverflowError. 5 等等

    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 ---------------------------------...

    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-...[".-","-...","-.-.","-..",".","..-.","--.","....", "..",".---","-.-",".-..","--","-.","---",".--.","- -.-",".-.","...","-","..-","...-",".--","-..-","-. --","--.."]

    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 ...

    Blast2KEGG-开源

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

    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 ...

    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: ...

    acpi控制笔记本风扇转速

    Disassembler - fix for error emitted for unknown type for target of scope operator. Now, ignore it and continue. Disassembly of an FADT now verifies the input FADT and reports any errors found. Fix ...

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

    http://localhost:8080/ struts2会拦截,出现异常信息 There is no Action mapped for namespace / and action name.默认配置的welcomefile没有起作用。 按附件配置即可解决此问题

    The Art of Assembly Language Programming

    Mapped Input/Output Operations 3.6.3 Memory Mapped I/O 3.6.4 DMA Exercises 3.6.5 Interrupt Driven I/O Exercises 3.6.6 Machine Language Programming & Instruction Encoding Exercises 3.6.7...

    Invasive Computing for Mapping Parallel Programs to Many-Core Architectures

    A special focus today is the question of how applications can be mapped onto such architectures while not only taking into account functional correctness, but also non-functional execution properties...

    SAX符号化序列范例源码

    Recall that there are two options for timeseries2symbol. The first option is demonstrated in sax_demo.m Now here is an example of the latter. We are going to convert time series of length 50, with a...

    dedup:用于对文件或流中的条目进行重复数据删除的命令行工具

    一个用Rust编写的更好的重复数据删除器。 基本用法: dedup <INPUT> [-o ] 运行dedup --help来查看: USAGE: dedup.exe [FLAGS] [OPTIONS]... --no-mmap Prohibits usage of memory mapped files. This will

    Advanced Linux 3D graphics programming

    Light Mapped Polygons ...................................142 Software Rasterization of Light Maps............................147 Hardware Light Mapping....................................147 Sample ...

    Simulating planar reflection using two-pass rendering and texture mapping

    4. There is one rotating triangle floating in the air, casting a shadow on the table, walls and other objects. 5. The program allows the user to move the viewpoint and view direction.

    Thinking in Java 4th Edition

    What is finalize() for? ............. 120 You must perform cleanup ......... 121 The termination condition ......... 121 How a garbage collector works .. 122 Member initialization ......... 125 ...

Global site tag (gtag.js) - Google Analytics