Skip to content

Instantly share code, notes, and snippets.

@alanorth
Created August 17, 2016 11:08
Show Gist options
  • Save alanorth/c43c8d89e8df346d32c0ee938be90cd5 to your computer and use it in GitHub Desktop.
Save alanorth/c43c8d89e8df346d32c0ee938be90cd5 to your computer and use it in GitHub Desktop.
Errors with `dspace database` command on ILRI DSpace 5.5 + Atmire modules
Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl:java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
Exception in thread "main" java.lang.IllegalStateException: Failure during filter init: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:73)
Caused by: java.lang.RuntimeException: Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:224)
at org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:150)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:58)
Caused by: java.lang.IllegalStateException: failure starting up spring service manager: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:208)
... 2 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0' defined in class path resource [spring/spring-dspace-applicationContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.dspace.servicemanager.config.DSpaceConfigurationService]: : Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:740)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:449)
at org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:207)
at org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:205)
... 2 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl] for bean with name 'com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl#0' defined in file [/Users/aorth/dspace/config/spring/api/atmire-cua-update.xml]; nested exception is java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:833)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723)
... 15 more
Caused by: java.lang.ClassNotFoundException: com.atmire.statistics.util.update.atomic.tracing.AtomicUpdateTracingServiceNoOpImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)
... 24 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment