AnsweredAssumed Answered

application context xml

Question asked by nanou on Apr 11, 2008
Latest reply on Apr 11, 2008 by nanou

I try to use the content repository, but I get an exception :

Caused by: class path resource [classpath=alfresco/myContext.xml] cannot be opened because it does not exist
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(
        … 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.