I had the same issue at startup (i.e. not connected to the internet).  Anyway, I used the XSD files are bundled in the drools-spring-5.1.1.jar.  I simply changed my application context schema location to &quot;<span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; color: rgb(65, 61, 252); "><a href="http://drools.org/schema/drools-spring">http://drools.org/schema/drools-spring</a> <a href="http://drools.org/schema/drools-spring.xsd">http://drools.org/schema/drools-spring.xsd</a>&quot; </span>and the XSD files are loaded from the jar file at startup.<div>
<div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Dec 1, 2010 at 8:21 AM, Corneil du Plessis <span dir="ltr">&lt;<a href="mailto:corneil@tsctech.com">corneil@tsctech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
change schema location to that is only contains filenames like<br>
<div class="im"><br>
&lt;beans xmlns=&quot;<a href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a>&quot;<br>
        xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>
        xmlns:drools=&quot;<a href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a>&quot;<br>
        xmlns:camel=&quot;<a href="http://camel.apache.org/schema/spring" target="_blank">http://camel.apache.org/schema/spring</a>&quot;<br>
</div>        xsi:schemaLocation=&quot;<a href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a> spring-beans-2.5.xsd<br>
<a href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a> drools-spring-1.0.0.xsd<br>
<a href="http://camel.apache.org/schema/spring" target="_blank">http://camel.apache.org/schema/spring</a> camel-spring.xsd&quot;&gt;<br>
<br>
Then put the xsd files in same folder as applicationContext.xml<br>
<div><div></div><div class="h5"><br>
<br>
On 01/12/2010 17:15, Geoffrey De Smet wrote:<br>
&gt; IIRC, there&#39;s something in drools-spring we can do, so the xsd&#39;s don&#39;t<br>
&gt; have to be downloaded from the internet but can be used directly from<br>
&gt; the jar.<br>
&gt; It might be a properties file or something in the jar, which says urlX =<br>
&gt; pathYinTheJar.<br>
&gt;<br>
&gt; Op 01-12-10 15:59, Anderson Rocha schreef:<br>
&gt;&gt; Thank you for your replay.<br>
&gt;&gt;<br>
&gt;&gt; I downloaded the schemas and configured the applicationContext.xml<br>
&gt;&gt; like this, consider &quot;path to my&quot; the path to the file.<br>
&gt;&gt;<br>
&gt;&gt; &lt;beans xmlns=&quot;<a href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a>&quot;<br>
&gt;&gt;         xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>
&gt;&gt;         xmlns:drools=&quot;<a href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a>&quot;<br>
&gt;&gt;         xmlns:camel=&quot;<a href="http://camel.apache.org/schema/spring" target="_blank">http://camel.apache.org/schema/spring</a>&quot;<br>
&gt;&gt;         xsi:schemaLocation=&quot;<a href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a><br>
&gt;&gt; <a href="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" target="_blank">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</a><br>
&gt;&gt; *<a href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a><br>
&gt;&gt; file:///path/to/my/drools-spring-1.0.0.xsd*<br>
&gt;&gt; *<a href="http://camel.apache.org/schema/spring" target="_blank">http://camel.apache.org/schema/spring</a><br>
&gt;&gt; file:///path/to/my/camel-spring.xsd&quot;*&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have a web application, and when I execute it works =) but I have<br>
&gt;&gt; some unit tests and I initialize the spring with the code<br>
&gt;&gt;<br>
&gt;&gt; ApplicationContext applicationContext = new<br>
&gt;&gt; ClassPathXmlApplicationContext(new String[] {&quot;applicationContext.xml&quot;});<br>
&gt;&gt;<br>
&gt;&gt; In this case I get the same error I had before. Any ideia?<br>
&gt;&gt;<br>
&gt;&gt; Anderson<br>
&gt;&gt;<br>
&gt;&gt; 2010/12/1 Mauricio Salatino&lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&lt;mailto:<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      yes you can download the schemas to your hard drive and point the<br>
&gt;&gt;      applicationContext.xml to them.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      2010/12/1 Anderson Rocha&lt;<a href="mailto:anderson.ufal@gmail.com">anderson.ufal@gmail.com</a><br>
&gt;&gt;      &lt;mailto:<a href="mailto:anderson.ufal@gmail.com">anderson.ufal@gmail.com</a>&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;          Hi all,<br>
&gt;&gt;<br>
&gt;&gt;          I realized that to use Drools with Spring I need to be<br>
&gt;&gt;          conected to the internet, but sometimes I am not. There is a<br>
&gt;&gt;          way to download the tags of Drools and configure the<br>
&gt;&gt;          applicationContext.xml to seek for them localy?<br>
&gt;&gt;<br>
&gt;&gt;          Regards,<br>
&gt;&gt;          Anderson<br>
&gt;&gt;<br>
&gt;&gt;          _______________________________________________<br>
&gt;&gt;          rules-users mailing list<br>
&gt;&gt;          <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;&gt;          <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      --<br>
&gt;&gt;       - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a><br>
&gt;&gt;       - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
&gt;&gt;       - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
&gt;&gt;<br>
&gt;&gt;       - Salatino &quot;Salaboy&quot; Mauricio -<br>
&gt;&gt;<br>
&gt;&gt;      _______________________________________________<br>
&gt;&gt;      rules-users mailing list<br>
&gt;&gt;      <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&lt;mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
&gt;&gt;      <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div></div>