cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Cmis exception when executing the test cases in unix

prasal
Champ on-the-rise
Champ on-the-rise

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)

1 REPLY 1

rupeshsawaliya
Star Contributor
Star Contributor

Hi,

Can you share this class com.ms.alfresco.core.jscript.CommentsScriptObjectTest with bean configuration?

Regards,

Rupesh
EnProwess : Portal | Liferay | ECM | Alfresco | Mobile