Hi, I am building my applications using maven, but a strange thing happens. In one of my java class , i have the code
app = new Application(); String[] paths = {"applicationContext.xml"}; appContext = new ClassPathXmlApplicationContext(paths); So, as per my knowledge, it should search for "applicationContext.xml" in the classes folder. but when i am building it with maven and deploy it on the server, it starts looking for the "applicationContext.xml" in /WEB-INF folder. Can you please tell me why it happens. As if i build it using the eclipse and deploy it on the server, it looks for the same file in classes folder. Can you please tell me what is the reaon for such discrepancy in the behaviuor Any help will be greatly appreciated -- View this message in context: http://maven.40175.n5.nabble.com/Problem-in-context-loading-tp4781640p4781640.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org