Hi Peter,
i followed what you told me, and now i have this exception:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [alfresco/application-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist
Caused by: java.io.FileNotFoundException: class path resource [alfresco/application-context.xml] cannot be opened because it does not exist
———————————————————————————————————————————————
MY CODE IS VERY SIMPLE, I POSTED IT BELOW:
public class TestEmbedded {
public static void main (String[] args)
{
EsiCmsUtility obj1 = new EsiCmsUtility();
//AbstractLoginResult alr;
try{
ApplicationContext ac = ApplicationContextHelper.getApplicationContext(); <–HERE I HAVE THE EXCEPTION
//System.out.println("Context obtained");
//alr = obj1.login("admin", "admin");
}catch(Exception err)
{
err.printStackTrace();
}
}
}
———————————————————————————————————————————–
CAN YOU HELP ME PLEASE?