问题描述
望各位高手们,给俺讲讲,这是为啥?HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionorg.apache.jasper.JasperException:TheStrutsdispatchercannotbefound.ThisisusuallycausedbyusingStrutstagswithouttheassociatedfilter.Strutstagsareonlyusablewhentherequesthaspassedthroughitsservletfilter,whichinitializestheStrutsdispatcherneededforthistag.-[unknownlocation]org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:532)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:99)org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:52)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:192)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)org.springframework.security.ui.AccessDeniedHandlerImpl.handle(AccessDeniedHandlerImpl.java:65)org.springframework.security.ui.ExceptionTranslationFilter.handleException(ExceptionTranslationFilter.java:171)org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:117)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
解决方案
解决方案二:
该回复于2011-02-09 08:58:42被版主删除
解决方案三:
引用1楼smalldear的回复:
帮顶下
谢谢,这又是一个版本不兼容的问题,现在解决了
解决方案四:
版本问题哈。。。。
解决方案五:
解决了就好!