First of All a big thanks Tim for the help,

But the problem is that i have xmlui2 in my dspace site and following the 
manual it says that i should  use the mvn -U clean package -Dmirage2.on=true

doing this it gives the SUCESS in all parts.. but whenever im doing the in 
the ../target/dspace-install/ ant update i gives me THE error.

By the way i´m copying the customisations that was made as item 3 "*Merge 
any User Interface customizations or other customizations (if needed or 
desired)" *recommend.

"Customizations are typically housed in one of the following places:

   1. JSPUI modifications: 
   [dspace-source]/dspace/modules/jspui/src/main/webapp/
   2. XMLUI modifications: 
   [dspace-source]/dspace/modules/xmlui/src/main/webapp/
   3. Config modifications: [dspace]/config


I'm really lost with this right now, will try a clean installation without 
copying any customisations just to see if it will work.

On Friday, January 12, 2018 at 2:29:55 PM UTC-2, Tim Donohue wrote:
>
> I would suggest trying a full rebuild/redeploy of DSpace 6.2, to see if 
> that solves the issue
>
> mvn -U clean package
> ant update
>
> More info at https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace 
>
> I don't believe that using the dspace-6.2-release should cause this issue. 
> But, if a rebuild/redeploy doesn't work, you could try again with the src 
> release.
>
> Please report back and let us know if you find a resolution here. Thanks!
>
> Tim
>
> On Fri, Jan 12, 2018 at 9:00 AM Tadeu Alves <[email protected] 
> <javascript:>> wrote:
>
>> Hi Tim,
>>
>> Thanks for the answer well i dont have any dspace-api-5.2.jar in my 
>> system i use mlocate to find files but no dspace-api-5.2.jar in my 
>> directory.. is there anything that i should do? by the way i used 
>> the dspace-6.2-release not the src file could it be it?!
>>
>>
>> On Thursday, January 11, 2018 at 7:54:11 PM UTC-2, Tim Donohue wrote:
>>
>>> Hello,
>>>
>>> The error sounds as though the libraries (JARs) from DSpace 6 are not 
>>> properly installed... OR  possibly you have some DSpace 5 related libraries 
>>> that are conflicting with DSpace 6 libraries.
>>>
>>> You may wish to look to ensure the "dspace-api-6.2.jar" exists in your 
>>> DSpace "lib" directory ([dspace]/lib/), and the "dspace-api-5.2.jar" does 
>>> *not* exist.   It's also possible that your "mvn -U clean package" rebuild 
>>> of DSpace 6.2 did complete successfully (step #5 in the upgrade process) in 
>>> some manner. So, you may wish to try and rebuild DSpace 6.2 and run "ant 
>>> update" again.
>>>
>>> https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace
>>>
>>> Good luck. Let us know if you figure out the issue.
>>>
>>> - Tim
>>>
>>> On Thu, Jan 11, 2018 at 11:52 AM Tadeu Alves <[email protected]> wrote:
>>>
>> *Hello Everyone,*
>>>>
>>>> *Following the documentation from: 
>>>> "https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace 
>>>> <https://wiki.duraspace.org/display/DSDOC6x/Upgrading+DSpace>" and 
>>>> "https://github.com/DSpace/DSpace/tree/dspace-6_x/dspace-xmlui-mirage2 
>>>> <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.
>>>>
>>>
>>>
>>> -- 
>>> Tim Donohue
>>> Technical Lead for DSpace & DSpaceDirect
>>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>

-- 
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