1 Struts Problem Report 2 3 Struts has detected an unhandled exception: 4 Messages: 5 There is no Action mapped for namespace [/] and action name [accoutLogin] associated with context path [/cloudclick]. 6 Stacktraces 7 There is no Action mapped for namespace [/] and action name [accoutLogin] associated with context path [/cloudclick]. - [unknown location] 8 9 com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185) 10 org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63) 11 org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) 12 com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) 13 org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:534) 14 org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) 15 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) 16 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 17 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 18 org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687) 19 org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469) 20 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403) 21 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) 22 org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164) 23 org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) 24 com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:367) 25 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:271) 26 org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) 27 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 28 com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176) 29 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 30 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 31 com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265) 32 org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) 33 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 34 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 35 com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138) 36 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 37 com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:238) 38 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 39 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 40 com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:238) 41 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 42 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 43 com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191) 44 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 45 org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73) 46 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 47 org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91) 48 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 49 org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) 50 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 51 com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) 52 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 53 com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) 54 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 55 com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) 56 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 57 com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) 58 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) 59 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 60 com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176) 61 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 62 org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) 63 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 64 com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193) 65 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 66 com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187) 67 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:242) 68 org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) 69 org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:544) 70 org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) 71 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) 72 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 73 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 74 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) 75 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 76 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 77 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 78 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 79 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) 80 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 81 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) 82 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) 83 java.lang.Thread.run(Thread.java:662) 84
出现这种错误,一般情况有:
1、action没有找到,也行是写错了,也行是根本就没有这个action
2、基本配置错了