File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileNotFoundException -- Spring Context.xml

 
Vaideeswaran Natarajan
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a single eclipse plugin and added a new java package to the current one. I dont have to use Buddy Classloading as there is only one plugin/project. I have added the xml file to the build path and also added the folder containing the xml to the runtime tab of the Manifest.mf. I use the Spring's ClassPathXmlApplicationContext to access this xml file. I am getting FileNotFoundException.I am struggling with this issue for the last 4 days. Kindly advice.Your help in this is much appreciated.

I placed the xml file in project root folder,project root folder/resources/,src folder....

But still i am getting the exception. This is an eclipse RCP plugin project so there wont be the runtime classpath tab when I click run configurations.

Thanks
V
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your code that creates the ApplicationContext.

Also, in Eclipse is that directory set as a source directory so that it is truly the root of your classpath?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic