As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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)
Hi,
Can you share this class com.ms.alfresco.core.jscript.CommentsScriptObjectTest with bean configuration?
Regards,
RupeshEnProwess : Portal | Liferay | ECM | Alfresco | Mobile