Hi Mark, thanks for pointing to me the -Dlocal-config option!

That saved the day!

Yes it turns out you CAN relocate local.cfg, we just did.

The whole issue started from our CI tool that deleted previous files when 
performing a git pull (even untracked ones, such as local.cfg so we had to 
figure a way to use a remote file)

Regards,

P.K.

On Wednesday, October 26, 2016 at 4:19:54 PM UTC+3, Pantelis Karamolegkos 
wrote:
>
> When performing an ant update after an mvn clean install, the following 
> error appears during execution of the test_database target
>
> [java] Caused by: org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService' defined in 
> URL 
> [jar:file:/home/gitlab-runner/builds/a8dc15bb/0/photodentro/ebooks-v2/dspace/target/dspace-installer/lib/dspace-api-6.0-rc5-SNAPSHOT.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]:
>  
> Cannot create inner bean 
> 'org.dspace.app.sherpa.submit.MetadataValueISSNExtractor#3c69362a' of type 
> [org.dspace.app.sherpa.submit.MetadataValueISSNExtractor] while setting 
> bean property 'issnItemExtractors' with key [0]; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 
> 'org.dspace.app.sherpa.submit.MetadataValueISSNExtractor#3c69362a': 
> Injection of autowired dependencies failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Could not autowire 
> field: public org.dspace.content.service.ItemService 
> org.dspace.app.sherpa.submit.MetadataValueISSNExtractor.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)}
>
>
> Any suggestions what might be causing this?
>
> Thanks,
>
> P.K.
>

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