求问怎么解决?javax.servlet.ServletException

问题描述

求问怎么解决?javax.servlet.ServletException

javax.servlet.ServletException: Could not resolve view with name 'employeeLog/emWorkLogDisplay' in servlet with name 'employeeLogManagement'
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1211)
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

解决方案

把具体的代码贴出来看看

解决方案二:

我估计,是你的页面后缀没写吧employeeLog/emWorkLogDisplay

解决方案三:

这是Controller
@RequestMapping(value="employeeLogDisplay")
public String employeeLogDisplay(Model model){
return "emWorkLogDisplay";
}
这是Servlet.xml
class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver">
<!-- use default setting now -->
value="org.springframework.web.servlet.view.freemarker.FreeMarkerView" />

解决方案四:

sorry刚才没发全:
这是Servlet.xml
class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver">
<!-- use default setting now -->
value="org.springframework.web.servlet.view.freemarker.FreeMarkerView" />

时间: 2024-10-31 15:36:28

求问怎么解决?javax.servlet.ServletException的相关文章

javax.servlet.ServletException: Request[/usergetinfo] does not contain handler parameter named &amp;#39;para

错误介绍:1:找不到配置的(DispatchAction)方法参数,或者其他参数.  eg:parameter="method":                    2:过滤器中" chain.doFilter(request,response);"传递不了下一个过滤器中或者,进入请求中. 异常详细信息: 2015-01-16 17:18:02,424 ERROR org.apache.struts.actions.DispatchAction Request[

javax.servlet.ServletException: Original response not availabl异常:javax.servlet.ServletException: Original response not available

问题描述 在weblogic下部署的应用,在未改动程序的情况下,突然就开始一直报javax.servlet.ServletException:Originalresponsenotavailable异常.<Feb18,20089:21:18AMCST><Error><HTTP><BEA-101018><[ServletContext(id=32787110,name=bbs,context-path=/bbs)]ServletfailedwithSer

抛出的异常:javax.servlet.ServletException: Report Tag:GenerateAndShow:错误!

问题描述 今天安装websphere6.0和普元EOS5.3系统上的增删改查和工作流都是好的,但使用的普元报表开发的界面菜单点击页面上会报500错误.后天报如下错误.[2/27/1511:28:07:610CST]0000003eSystemOutO2015-02-2711:28:07:610[REPORTSERVER]ReportServerstarting...[2/27/1511:28:07:612CST]0000003eServletWrappeESRVE0068E:未捕获到servle

JDK版本问题导致的javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection

这是我这几天遇到的一个问题,最后发现是一个低级的错误,不过还是值得记录下来:1.问题现象:我在Eclipse通过MyEclipse创建一个WebProject,使用Struts1.2.在Eclipse运行没有问题,于是就是用Eclipse的Export功能,导出为一个war文件,将该war文件解压后放到了Tomcat的webapps目录,启动tomcat.访问时在浏览器中就遇到了问题: javax.servlet.ServletException: Cannot find ActionMappi

加载的例程因为路径问题无法运行求问怎么解决

问题描述 加载的例程因为路径问题无法运行求问怎么解决

编译qvfb的时候出错,求问如何解决!!!!!!

问题描述 编译qvfb的时候出错,求问如何解决!!!!!! undefined reference to symbol 'png_sig_bytes@@PNG12_0' 求解决办法,不知道问题出在哪里 解决方案 链接错误造成的,检查下include.lib的配置.png_sig_bytes的定义. 解决方案二: libpng有link吗

500错误-HTTP Status500 javax.servlet.ServletException: java.lang.Error

问题描述 HTTP Status500 javax.servlet.ServletException: java.lang.Error type Exception report message javax.servlet.ServletException: java.lang.Error: 无法解析的编译问题: description The server encountered an internal error that prevented it from fulfilling this

求问,我在servlet中首先转发到一个jsp页面进行输出,然后怎么才能重定向跳转到另一个jsp呢?

问题描述 求问,我在servlet中首先转发到一个jsp页面进行输出,然后怎么才能重定向跳转到另一个jsp呢? User user = (User) request.getSession().getAttribute("user"); if(user==null){ request.setAttribute("message", "请先登陆!!,3秒后自动跳转!"); request.getRequestDispatcher("/mes

tomcat-SERVLET出错javax.servlet.ServletException: Servlet

问题描述 SERVLET出错javax.servlet.ServletException: Servlet 解决方案 看看你的servlet是不是循环调用了,死循环了. 解决方案二: 栈溢出,myserver的doget方法循环调用导致内存耗尽.