Hi,
I try to use the content repository, but I get an exception :
Caused by: java.io.FileNotFoundException: class path resource [classpath=alfresco/myContext.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
… 14 more
my java code :
ApplicationContext context = new ClassPathXmlApplicationContext("classpath=alfresco/myContext.xml");
this.repository = (Repository)context.getBean("JCR.Repository");
I've tried many places, but unfortunetely none works.
Can you help me and explain me where to put this file.
Thanks.