Skip to content

Instantly share code, notes, and snippets.

@eddies
Created April 29, 2013 17:42
Show Gist options
  • Save eddies/5483316 to your computer and use it in GitHub Desktop.
Save eddies/5483316 to your computer and use it in GitHub Desktop.
org.fcrepo.binary.PolicyDecisionPoint exception
ERROR 01:36:23.156 (ContextLoader) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.fcrepo.services.DatastreamService#0': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.fcrepo.binary.PolicyDecisionPoint org.fcrepo.services.DatastreamService.storagePolicyDecisionPoint; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.fcrepo.binary.PolicyDecisionPoint] is defined: expected single matching bean but found 2: [storagePolicyBean, org.fcrepo.binary.PolicyDecisionPoint#0]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment