• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class PathXml ApplicationContext

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a standalone application using eclipse and spring 2.0,If I use

ApplicationContext ctx = new
ClassPathXmlApplicationContext("applicationContext.xml");

It says File not found.

where I should place the applicationcontext.xml file or
is there any way to specify the class path?
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this



Place the applicationcontext.xml, anywhere in your classpath.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic