org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/D:/tomcat9/temp/1464806415246.openmrs-lib-cache/owa/owa.jar!/webModuleApplicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/openmrs/ConceptAttributeType

openmrs.org | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Installing the Legacy UI module on platform 2.0.0 Beta - Ask OpenMRS - OpenMRS Talk

    openmrs.org | 9 months ago
    org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/D:/tomcat9/temp/1464806415246.openmrs-lib-cache/owa/owa.jar!/webModuleApplicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/openmrs/ConceptAttributeType
  2. 0

    Gradle: Build 'fat jar' with Spring Boot Dependencies

    codegur.com | 1 year ago
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Connect to MySQL in eclipse java ee

    Stack Overflow | 1 year ago | programmer
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.openmrs.ConceptAttributeType

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1299)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1133)
    2 frames
  3. org.openmrs.module
    ModuleClassLoader.loadClass
    1. org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:563)
    1 frame
  4. Java RT
    Class.getDeclaredMethods
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2. java.lang.Class.getDeclaredMethods0(Native Method)
    3. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    4. java.lang.Class.getDeclaredMethods(Class.java:1975)
    4 frames
  5. Spring Core
    ReflectionUtils.doWithMethods
    1. org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571)
    2. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:490)
    2 frames
  6. Spring MVC
    AbstractDetectingUrlHandlerMapping.initApplicationContext
    1. org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.determineUrlsForHandlerMethods(DefaultAnnotationHandlerMapping.java:178)
    2. org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.determineUrlsForHandler(DefaultAnnotationHandlerMapping.java:153)
    3. org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:79)
    4. org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.initApplicationContext(AbstractDetectingUrlHandlerMapping.java:58)
    4 frames
  7. Spring Context
    ApplicationObjectSupport.initApplicationContext
    1. org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:120)
    1 frame
  8. Spring
    WebApplicationObjectSupport.initApplicationContext
    1. org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:76)
    1 frame
  9. Spring Context
    ApplicationContextAwareProcessor.postProcessBeforeInitialization
    1. org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:74)
    2. org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:119)
    3. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:94)
    3 frames
  10. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
    9 frames
  11. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    2 frames
  12. org.openmrs.module
    WebModuleUtil.refreshWAC
    1. org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:842)
    2. org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
    2 frames
  13. org.openmrs.web
    WebDaemon$1.run
    1. org.openmrs.web.Listener.performWebStartOfModules(Listener.java:643)
    2. org.openmrs.web.Listener.performWebStartOfModules(Listener.java:622)
    3. org.openmrs.web.Listener.startOpenmrs(Listener.java:260)
    4. org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
    4 frames