Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Make sure to add org.springframework.core-3.1.0.M2.jar to your project libraries so that org.springframework.core.env.EnvironmentCapable will be loaded.

  2. ,

    Make sure to add org.springframework.core-3.1.0.M2.jar to your project libraries so that org.springframework.core.env.EnvironmentCapable will be loaded.

Solutions on the web

via openmrs.org by Unknown author, 1 year ago
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
via GitHub by rcrichton
, 2 years ago
Unable to start OpenMRS. Error thrown was: '/var/lib/OpenMRS' should be a directory but it is not
java.lang.ClassNotFoundException: org.openmrs.ConceptAttributeType	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1299)	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1133)	at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:563)	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)	at java.lang.Class.getDeclaredMethods0(Native Method)	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)	at java.lang.Class.getDeclaredMethods(Class.java:1975)	at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:571)	at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:490)	at org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.determineUrlsForHandlerMethods(DefaultAnnotationHandlerMapping.java:178)	at org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping.determineUrlsForHandler(DefaultAnnotationHandlerMapping.java:153)	at org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:79)	at org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.initApplicationContext(AbstractDetectingUrlHandlerMapping.java:58)	at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:120)	at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:76)	at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:74)	at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:119)	at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:94)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)	at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:842)	at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)	at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:643)	at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:622)	at org.openmrs.web.Listener.startOpenmrs(Listener.java:260)	at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)