That's more of a Spring question than Hudson question, but note that
ClassPathXmlApplicationContext takes a resource name. You are not
passing a java.lang.Class, either, so I don't see how Spring could pick
up the right classloader to find your bean XML files in.
> Hi All,
> Any one know how to load spring context from Hudson plugin?
> I tried below way,
> ApplicationContext ctx =
> But it is throwing below exception as when I run as mvn hpi:run.
> IOException parsing XML document from class path resource
> [hudson/plugins/datastore/applicationContext.xml]; nested exception is