This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Class PathXml ApplicationContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Class PathXml ApplicationContext" Watch "Class PathXml ApplicationContext" New topic

Class PathXml ApplicationContext

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
I have a standalone application using eclipse and spring 2.0,If I use

ApplicationContext ctx = new

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

Joined: Mar 02, 2005
Posts: 580
Try this

Place the applicationcontext.xml, anywhere in your classpath.
subject: Class PathXml ApplicationContext
It's not a secret anymore!