*Hello Everyone,*

*Following the documentation from: 
"https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace"; and 
"https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2"*

*After doing an ant update i got the following errors:*



[java] Failure during kernel init: Failed to startup the DSpace Service 
Manager: failure starting up spring service manager: Error creating bean 
with name 'org.dspace.app.requestitem.RequestItemAuthorExtractor': 
Injection of autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java] java.lang.RuntimeException: Failed to startup the DSpace 
Service Manager: failure starting up spring service manager: Error creating 
bean with name 'org.dspace.app.requestitem.RequestItemAuthorExtractor': 
Injection of autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:231)
     [java]     at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153)
     [java]     at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)
     [java]     at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49)
     [java] Caused by: java.lang.IllegalStateException: failure starting up 
spring service manager: Error creating bean with name 
'org.dspace.app.requestitem.RequestItemAuthorExtractor': Injection of 
autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:215)
     [java]     ... 3 more
     [java] Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.dspace.app.requestitem.RequestItemAuthorExtractor': 
Injection of autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:298)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1148)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
     [java]     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
     [java]     at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
     [java]     at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
     [java]     at 
org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:221)
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:212)
     [java]     ... 3 more
     [java] Caused by: 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:531)
     [java]     at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
     [java]     ... 15 more
     [java] Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:997)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:867)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:503)
     [java]     ... 17 more
     [java] Exception in thread "main" java.lang.IllegalStateException: 
Failure during kernel init: Failed to startup the DSpace Service Manager: 
failure starting up spring service manager: Error creating bean with name 
'org.dspace.app.requestitem.RequestItemAuthorExtractor': Injection of 
autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:65)
     [java] 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.app.requestitem.RequestItemAuthorExtractor': Injection of 
autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:231)
     [java]     at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:153)
     [java]     at 
org.dspace.servicemanager.DSpaceKernelImpl.start(DSpaceKernelImpl.java:128)
     [java]     at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:49)
     [java] Caused by: java.lang.IllegalStateException: failure starting up 
spring service manager: Error creating bean with name 
'org.dspace.app.requestitem.RequestItemAuthorExtractor': Injection of 
autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:215)
     [java]     ... 3 more
     [java] Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'org.dspace.app.requestitem.RequestItemAuthorExtractor': 
Injection of autowired dependencies failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:298)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1148)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
     [java]     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
     [java]     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
     [java]     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
     [java]     at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
     [java]     at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
     [java]     at 
org.dspace.servicemanager.spring.SpringServiceManager.startup(SpringServiceManager.java:221)
     [java]     at 
org.dspace.servicemanager.DSpaceServiceManager.startup(DSpaceServiceManager.java:212)
     [java]     ... 3 more
     [java] Caused by: 
org.springframework.beans.factory.BeanCreationException: Could not autowire 
field: protected org.dspace.content.service.ItemService 
org.dspace.app.requestitem.RequestItemMetadataStrategy.itemService; nested 
exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:531)
     [java]     at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:295)
     [java]     ... 15 more
     [java] Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
qualifying bean of type [org.dspace.content.service.ItemService] found for 
dependency: expected at least 1 bean which qualifies as autowire candidate 
for this dependency. Dependency annotations: 
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:997)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:867)
     [java]     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:779)
     [java]     at 
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:503)
     [java]     ... 17 more

BUILD FAILED
/root/dspace-6.2-release/dspace/target/dspace-installer/build.xml:792: Java 
returned: 





*Does anyone know what this could be? i can provide my dspace.cfg if 
needed!!*

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to