<div dir="ltr"><div>Sorry I didn&#39;t mentioned this earlier but when I deploy my project below are few errors I get :-</div><div><br></div><div><div>INFO  ClasspathKieProject - Found kmodule: jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml</div>
<div>ERROR ClasspathKieProject - Unable to load pom.properties from/C:/Users/Sumit Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar as jarPath cannot be found</div><div>/Users/Sumit Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar</div>
<div>ERROR ClasspathKieProject - Unable to load pom.properties from/C:/Users/Sumit Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar</div><div>\Users\Sumit Dhaniya\.m2\repository\com\demo\FirstDemo\1.0\FirstDemo-1.0.jar (The system cannot find the path specified)</div>
<div>ERROR ClasspathKieProject - Unable to build index of kmodule.xml url=jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml</div></div><div><br></div>Below is the conf. I did for drools in my conf. file :-<div>
<div><br></div><div><span class="" style="white-space:pre">        </span>&lt;kie:kmodule id=&quot;kmodule1&quot;&gt;</div><div><span class="" style="white-space:pre">                </span>&lt;kie:kbase name=&quot;defaultKieBase&quot; default=&quot;true&quot;</div>
<div><span class="" style="white-space:pre">                        </span>eventProcessingMode=&quot;cloud&quot; equalsBehavior=&quot;identity&quot;</div><div><span class="" style="white-space:pre">                        </span>declarativeAgenda=&quot;disabled&quot; scope=&quot;javax.enterprise.context.ApplicationScoped&quot;</div>
<div><span class="" style="white-space:pre">                        </span>packages=&quot;com.sophic.drool&quot;&gt;</div><div><span class="" style="white-space:pre">                        </span>&lt;kie:ksession name=&quot;defaultKieSession&quot; type=&quot;stateful&quot;</div>
<div><span class="" style="white-space:pre">                                </span>default=&quot;true&quot; clockType=&quot;realtime&quot;</div><div><span class="" style="white-space:pre">                                </span>scope=&quot;javax.enterprise.context.ApplicationScoped&quot; /&gt;</div>
<div><span class="" style="white-space:pre">                        </span>&lt;kie:ksession name=&quot;defaultStatelessKieSession&quot; type=&quot;stateless&quot;</div><div><span class="" style="white-space:pre">                                </span>default=&quot;true&quot; clockType=&quot;realtime&quot;</div>
<div><span class="" style="white-space:pre">                                </span>scope=&quot;javax.enterprise.context.ApplicationScoped&quot; /&gt;</div><div><span class="" style="white-space:pre">                </span>&lt;/kie:kbase&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;/kie:kmodule&gt;</div>
<div><span class="" style="white-space:pre">        </span>&lt;bean id=&quot;kiePostProcessor&quot; class=&quot;org.kie.spring.KModuleBeanFactoryPostProcessor&quot; /&gt;</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Jul 6, 2014 at 9:39 PM, vinodkiran <span dir="ltr">&lt;<a href="mailto:vinodkiran@usa.net" target="_blank">vinodkiran@usa.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">if you are using a spring XML with annotations please ensure that the<br>
following declaration is available in the XML file<br>
<br>
&lt;bean id=&quot;kiePostProcessor&quot;<br>
class=&quot;org.kie.spring.annotations.KModuleAnnotationPostProcessor&quot;/&gt;<br>
<br>
Sample:<br>
<br>
<a href="https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/resources/org/kie/spring/annotations/kie-spring-annotations.xml" target="_blank">https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/resources/org/kie/spring/annotations/kie-spring-annotations.xml</a><br>

<br>
<br>
<br>
<br>
<br>
</div>--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243p4030249.html" target="_blank">http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243p4030249.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<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>