`
luckliu521
  • 浏览: 253226 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Struts2注解错误之There is no Action mapped for namespace [/]……

    博客分类:
  • java
 
阅读更多
用Struts2做注解操作的时候,出现There is no Action mapped for namespace [/] and action name [test] associated with context path [/test]. - [unknown location] 
    at com.opensymphony.xwork2.DefaultActionProxy.prepare...问题,是因为要用Struts2的注解,你还非得将action处理类放在struts, struts2, action, actions包或者其子包中。否则一定会报错!!!
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics