此错误显示在IE8资源管理器中。
RTFTemplateServlet:处理RTF版本时出错 没有名为'vmRTFTemplate'的bean是defineorg.springframework.beans.factory.NoSuchBeanDefinitionException:没有定义名为'vmRTFTemplate'的bean 在org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:355) 在org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:800) 在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:237) 在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) 在org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642) at net.sourceforge.rtf.helper.RTFTemplateBuilder.newRTFTemplate(RTFTemplateBuilder.java:85) at net.sourceforge.rtf.helper.RTFTemplateBuilder.newRTFTemplate(RTFTemplateBuilder.java:100) at net.sourceforge.rtf.web.servlet.AbstractRTFTemplateServlet.doRequest(AbstractRTFTemplateServlet.java:118) at net.sourceforge.rtf.web.servlet.AbstractRTFTemplateServlet.doGet(AbstractRTFTemplateServlet.java:64) 在javax.servlet.http.HttpServlet.service(HttpServlet.java:617) 在javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78) 在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 在org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) 在org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process(Http11Protocol.java:588) 在org.apache.tomcat.util.net.JIoEndpoint $ Worker.run(JIoEndpoint.java:489) 在java.lang.Thread.run(Thread.java:662)
答案 0 :(得分:0)
我猜你的春天bean不是名为“vmRTFTemplate”,请检查你的spring配置文件。