AnsweredAssumed Answered

Getting Cmis exception when executing the test cases in unix

Question asked by prasal on May 28, 2018
Latest reply on May 28, 2018 by rupeshsawaliya@gmail.com

Hello All,

  I am executing the test cases in UNIX but getting the below exception. When I execute the webscripts from the browser URL its working fine but not working when executing in the UNIX environment.

Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ms.alfresco.qalientcore.utils.opencmis.OpenCmisUtility com.ms.alfresco.core.jscript.CommentsScriptObjectTest.openCmis; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openCmisUtility': Invocation of init method failed; nested exception is org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Found" type="org.springframework.beans.factory.BeanCreationException">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ms.alfresco.core.jscript.CommentsScriptObjectTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.ms.alfresco.qalientcore.utils.opencmis.OpenCmisUtility com.ms.alfresco.core.jscript.CommentsScriptObjectTest.openCmis; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openCmisUtility': Invocation of init method failed; nested exception is org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Found
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:385)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)

Outcomes