Details
-
Bug
-
Resolution: Duplicate
-
Highest
-
None
-
2.12.0
Description
Restore client cannot start (Spring-IoC-related stack trace).
stash-restore-client v .1.2.0 (as you can see below)
Below is the command line and the output output of restore client
Kirills-MacBook-Pro:stash-backup-client-1.2.0 kirillfrolov$ java -Dstash.home=/Users/kirillfrolov/Documents/atlassian/stash -jar stash-restore-client.jar /Users/kirillfrolov/frameworks/stash-backup-data/backups/stash-20140329-220413-690.tar
2014-03-29 22:15:58,881 INFO Initializing
2014-03-29 22:15:59,412 ERROR The application could not be started. An unexpected error prevented the Spring
ApplicationContext from being created. Details of the error follow.
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibaseDao' defined in class path resource [META-INF/spring/restore-spring.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.google.common.base.Supplier]: : No qualifying bean of type [com.google.common.base.Supplier] is defined: expected single matching bean but found 2: backupDataSourceSupplier,databaseService; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [com.google.common.base.Supplier] is defined: expected single matching bean but found 2: backupDataSourceSupplier,databaseService
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:742) ~[spring-beans-4.0.0.RELEASE.jar:4.0.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196) ~[spring-beans-4.0.0.RELEASE.jar:4.0.0.RELEASE]
... 14 more frames available in the log file
Attachments
Issue Links
- duplicates
-
BSERV-4526 Backup Client 1.2.0 cannot restore
- Closed