您好,登陆页面报错是什么原因 找不到action

lvyin 发布于 2014/08/13 16:47
阅读 522
收藏 0

@S2JH 你好,想跟你请教个问题:

环境:eclipse

       mvn tomcat:run启动

 

16:42:44.028 DEBUG l.s.a.s.ExtSecurityInterceptor[194] - Secure object: FilterInvocation: URL: /; Attributes: [ROLE_PROTECTED, ROLE_ADMIN] 
16:42:44.029 DEBUG l.s.a.s.ExtSecurityInterceptor[310] - Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@6fabe8e0: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffe9938: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: 65618431F4F6F96E77E5F288C5EC90C5; Granted Authorities: ROLE_ANONYMOUS 
16:42:44.034 INFO  l.s.c.w.filter.HttpRequestLogFilter[74] - Debug information:
 HTTP Request Logon User PIN :N/A
 HTTP Request Method         :GET
 HTTP Request URI            :/prototype/pub/signin
 HTTP Request Query String   :null
HTTP Request Parameter List :  
16:42:44.205 WARN  o.a.struts2.dispatcher.Dispatcher[64] - Could not find action or result: /prototype/pub/signin 
com.opensymphony.xwork2.config.ConfigurationException: No result defined for action lab.s2jh.pub.web.action.SigninController and result /pub/signin
 at org.apache.struts2.rest.RestActionInvocation.findResult(RestActionInvocation.java:300) ~[struts2-rest-plugin-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.rest.RestActionInvocation.executeResult(RestActionInvocation.java:238) ~[struts2-rest-plugin-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.rest.RestActionInvocation.processResult(RestActionInvocation.java:197) ~[struts2-rest-plugin-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:145) ~[struts2-rest-plugin-2.3.16.1.jar:2.3.16.1]
 at com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:147) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562) ~[struts2-core-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) [struts2-core-2.3.16.1.jar:2.3.16.1]
 at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) [struts2-core-2.3.16.1.jar:2.3.16.1]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.29.jar:6.0.29]
 at lab.s2jh.core.web.filter.HttpRequestLogFilter.doFilter(HttpRequestLogFilter.java:77) [core-service-1.0.0.jar:na]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.29.jar:6.0.29]
 at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
 at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) [spring-web-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) [spring-web-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.29.jar:6.0.29]
 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.29.jar:6.0.29]
 at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180) [spring-orm-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.10.RELEASE.jar:3.2.10.RELEASE]
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.29.jar:6.0.29]
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.29.jar:6.0.29]
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) [coyote-6.0.29.jar:6.0.29]
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [coyote-6.0.29.jar:6.0.29]
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [coyote-6.0.29.jar:6.0.29]
 at java.lang.Thread.run(Unknown Source) [na:1.8.0_05]
16:46:58.450 DEBUG l.s.s.service.SystemSechduleService[22] - Timely check and refresh PubPost spring cache... 

 

加载中
0
EntDIY
EntDIY
目前暂未验证 jetty:run 或 tomcat:run 类似的maven运行模式,建议先按照已验证的文档说明配置开发环境:http://git.oschina.net/xautlx/s2jh/wikis/DevCfg
返回顶部
顶部