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
Hi Anamika,
anamika gupta wrote:
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,
Hi,
this sounds a little bit OT but you can try this:
app = new Application();
String[] paths = {*classpath:*applicationContext.xml};
appContext = new ClassPathXmlApplicationContext(paths);
however, this is a webapp I assume...you don't have to go through this code
with Spring in a webapp...