Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1597

Error in simple printing module configuration

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Module Engine

      Description

      Simple Printing Module

      Unable to refresh the WebApplicationContext
      I/O failure during classpath scanning; nested exception is java.io.FileNotFoundException: class path resource [org/openmrs/BaseTest.class] cannot be opened because it does not exist
      org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:222)
      org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:201)
      org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
      org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
      org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
      org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
      org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
      org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
      org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
      org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
      org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
      org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
      org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
      org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
      org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
      org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
      org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
      org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
      org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
      org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)

        • org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:563)
        • org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:726)
        • org.openmrs.module.web.WebModuleUtil.startModule(WebModuleUtil.java:312)
        • org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:130)
          org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
          org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:265)
          org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
          org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
          org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
          org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
          org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
          org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        • org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
        • org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        • org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)
          org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
          org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
          org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
          org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
          org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        • org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:82)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        • org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:82)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
          org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
          org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
          org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
          org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
          org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
          org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
          java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

            Assignee:
            bwolfe Ben Wolfe
            Reporter:
            docart6 Arthur Manzon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: