struts2用注解开发出错二 There is no Action mapped for namespace [/] and action name [zhujie] associated with
来源:互联网 发布:unity3d插件map lab 编辑:程序博客网 时间:2024/06/06 03:56
既上次出现问题解决后,在注解开发时又报了同样的错误,如下
15:35:31.147 [http-bio-8080-exec-8] ERROR org.apache.struts2.dispatcher.Dispatcher - Could not find action or result/test3/showcom.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/] and action name [show] associated with context path [/test3]. at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) ~[xwork-core-2.3.24.jar:2.3.24] at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) ~[struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) ~[struts2-core-2.3.24.jar:2.3.24] at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) ~[xwork-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:554) [struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81) [struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.24.jar:2.3.24] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.69] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.69] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.69] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.69] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.69] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.69] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.69] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.69] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.69] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.69] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.69] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_72] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.69] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
这次很没有头绪,查了好多资料也没有发现,目前正在求助同行,现在先上解决方法,原因后来在上,出现问题是类名的问题
下面是我出现问题的类名,命名不合法见笑
出现的问题就在第二个类名的问题,下面是解决问题后的类名的问题
以后命名规范就不会出现类似问题了,哈哈!
有了解的可以帮忙分析下,谢谢!
阅读全文
0 0
- struts2用注解开发出错二 There is no Action mapped for namespace [/] and action name [zhujie] associated with
- struts2用注解开发出错一 There is no Action mapped for namespace [/] and action name [zhujie] associated with
- struts2-There is no Action mapped for namespace [/] and action name associated with
- struts2配置错误 There is no Action mapped for namespace [/] and action name [] associated with context
- Struts2 异常There is no Action mapped for namespace [/] and action name [auth] associated with context
- 纯注解方式"There is no Action mapped for namespace [/] and action name [Test] associated with conte"原因
- There is no Action mapped for namespace [/] and action name [hello] associated with context path [/
- There is no Action mapped for namespace [] and action name [] associated with context path []
- There is no Action mapped for namespace [/] and action name [upload/] associated with context path
- There is no Action mapped for namespace [/] and action name [Login] associated with context path [/e
- There is no Action mapped for namespace [/] and action name [] associated with context path [/struts
- There is no Action mapped for namespace [/] and action name [viewLogAction] associated with context
- There is no Action mapped for namespace [/] and action name [login] associated with context path [/M
- There is no Action mapped for namespace [/] and action name [] associated with context path [/dxm__s
- There is no Action mapped for namespace [/] and action name [hello2] associated with context path [/
- 部署Struts遇到“There is no Action mapped for namespace [/] and action name [...] associated with .."问题
- Messages: There is no Action mapped for namespace [/] and action name [] associated with context pat
- There is no Action mapped for namespace [/] and action name [spropertyvalue] associated with context
- webpack-dev-server不能自动刷新问题
- 20万、50万、100万的算法工程师,到底有什么区别?
- 第一次使用博客心情记录
- eclipse的使用
- 时间格式控制
- struts2用注解开发出错二 There is no Action mapped for namespace [/] and action name [zhujie] associated with
- 每日学习20170711--JAVA死锁排查利器
- LeetCode
- Hadoop--Hive准备(MySQL RPM安装)
- C++11中,&表示左值引用,&&表示右值引用
- 第7章offset家族
- Kafka史上最详细原理总结
- redis学习笔记五(有序集合)
- C#中构造函数的作用