a point to keep in mind is that all the plugin code and everything else must be put into the solrhome/lib directory.
where have you placed the file com/mypackage/applicationContext.xml ? On Fri, May 8, 2009 at 12:19 AM, Raju444us <gudipal...@gmail.com> wrote: > > I have configured solr using tomcat.Everything works fine.I overrode > QParserPlugin and configured it.The overriden QParserPlugin has a dependency > on another project say project1.So I made a jar of the project and copied > the jar to the solr/home lib dir. > > the project1 project is using spring.It has a factory class which loads the > beans.Iam using this factory calss in QParserPlugin to get a bean.When I > start my tomcat the factory class is loading fine.But the problem is its not > loading the beans.And Iam getting exception > > org.springframework.beans.factory.BeanDefinitionStoreException: IOException > parsing XML document from class path resource > [com/mypackage/applicationContext.xml]; nested exception is > java.io.FileNotFoundException: class path resource > [com/mypackage/applicationContext.xml] cannot be opened because it does not > exist > > Do I need to do something else?. Can anybody please help me. > > Thanks, > Raju > > > -- > View this message in context: > http://www.nabble.com/Solr-spring-application-context-error-tp23432901p23432901.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com