I'm trying to use a standalone Spring jar for a custom transformer and have
banged my way through most of the issues so far but can't seem to get
through this one.  When the transformer executes it loads the spring
applicationContext.xml file and throws the following error trying to parse
it.

org.xml.sax.SAXParseException........... Cannot find the declaration of the
element 'beans'.

which is referring to the following:
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
                                                   
http://www.springframework.org/schema/beans/spring-beans.xsd";>

Note that this all works when executing from the standalone jar.  I had to
put the applicationContext.xml into the solr/example/resource directory.  I
have my jar and supporting jars which includes all the spring jars in
<mycore>/lib.

It finds my transformer, finds the springContextLoader, finds my
applicationContent.xml file but can't seem to find the xsd files in the
spring jars.   I have tried sticking these jars everywhere with no luck.  If
anyone has any idea as to how I can resolve this please let me know. 
Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Using-Spring-standalone-jar-as-Custom-Transformer-tp4161378.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to