AnsweredAssumed Answered

Cannot create ApplicationContext object

Question asked by doblek on Oct 19, 2006
Latest reply on Oct 26, 2006 by doblek
Hi all,

I've posted this same question in another forum discussion, but I've not received any answer in few days so I'm going to try in this one (that maybe it's more suitable).

My problem (as you can see in the other post) is that I cannot create the ApplicationContext object since I get an exception from Spring framework because it says it's unable to find "application-context.xml". Do I have to do anything special about Spring?
I've also  tried to access the file with an absolute path:

String paths[] = {"C:/apache-tomcat-5.5.17/webapps/alfresco/WEB-INF/classes/alfresco/application-context.xml"};
ApplicationContext app_ctx = new ClassPathXmlApplicationContext(paths);
but I'm getting the same exception.

I apologize for duplicating the post but I do need help… =)

Thanks again,
Enrique

Outcomes