Hi Fredrick,



new ClassPathXmlApplicationContext("/applicationContext.xml");



From: frederick.verbist@steria.be [mailto:frederick.verbist@steria.be]
Sent: Wednesday, August 17, 2005 8:57 PM
To: Daniel Leuck
Cc: beanshell-users@lists.sourceforge.net
Subject: RE: [Beanshell-users] Loading resource from classpath


Thank you for the quick answer, it made my test work :-)
actualy I am trying to start an application of mine that uses the springframework and it cannot find his applicationcontext file
normaly it just does
new ClassPathXmlApplicationContext("applicationContext.xml");
in he constructor.

But when instanciating the class from beanshell, I get a FileNotFoundException...

Any ideas ?