2 qinzhengying qinzhengying 于 2013.09.29 10:08 提问

no action mapped问题 tomcat运行报错

运行tomcat时没报错
我打了http://localhost:8080/xxpt/index.action后是404未找到
错误如下
09-29 10:07:52 WARN o.a.struts2.dispatcher.Dispatcher - Could not find action or result
com.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/] and action name [index] associated with context path [/xxpt].
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) ~[xwork-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) ~[xwork-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) [spring-orm-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:120) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:95) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:71) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.session.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:97) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:43) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.AnonymousFilter.doFilterHttp(AnonymousFilter.java:73) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.preauth.AbstractPreauthFilter.doFilterHttp(AbstractPreauthFilter.java:87) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.preauth.AbstractPreauthFilter.doFilterHttp(AbstractPreauthFilter.java:87) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:193) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:45) [beangle-core-2.6.0.jar:na]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.beangle.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:25) [beangle-core-2.6.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.42]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.42]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.42]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.42]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.42]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) [tomcat-coyote.jar:7.0.42]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.42]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.42]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_10-rc2]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_10-rc2]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_10-rc2]
09-29 10:07:52 ERROR o.a.struts2.dispatcher.Dispatcher - Exception occurred during processing request: There is no Action mapped for namespace [/] and action name [index] associated with context path [/xxpt].
com.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/] and action name [index] associated with context path [/xxpt].
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) ~[xwork-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) ~[xwork-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:553) ~[struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.15.1.jar:2.3.15.1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) [spring-orm-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:120) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:95) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:71) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.session.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:97) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.access.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:43) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.AnonymousFilter.doFilterHttp(AnonymousFilter.java:73) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.preauth.AbstractPreauthFilter.doFilterHttp(AbstractPreauthFilter.java:87) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.auth.preauth.AbstractPreauthFilter.doFilterHttp(AbstractPreauthFilter.java:87) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:193) [beangle-core-2.6.0.jar:na]
at org.beangle.web.filter.GenericHttpFilterBean.doFilter(GenericHttpFilterBean.java:67) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:128) [beangle-core-2.6.0.jar:na]
at org.beangle.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:45) [beangle-core-2.6.0.jar:na]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.beangle.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:25) [beangle-core-2.6.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.42]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.42]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.42]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.42]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) [catalina.jar:7.0.42]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.42]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.42]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) [tomcat-coyote.jar:7.0.42]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.42]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.42]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_10-rc2]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_10-rc2]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_10-rc2]

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!