0 Replies Latest reply on Apr 2, 2016 5:57 AM by rishianand50

    There is already a deployed repository named 'sample' ?

    rishianand50

      I am getting below error :

       

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryFactory': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: There is already a deployed repository named 'test'

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'modeShapeSessionFactory' defined in URL [file:/usr/local/apache-tomcat-8.0.29/webapps/ROOT/WEB-INF/classes/spring/service/mgmt-content-repository-context.xml]: Cannot resolve reference to bean 'repositoryFactory' while setting bean property 'repository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryFactory': Invocation of init method failed; nested exception is javax.jcr.RepositoryException: There is already a deployed repository named 'test'

      at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)