<div dir="ltr"><div>Sorry I didn'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><kie:kmodule id="kmodule1"></div><div><span class="" style="white-space:pre">                </span><kie:kbase name="defaultKieBase" default="true"</div>
<div><span class="" style="white-space:pre">                        </span>eventProcessingMode="cloud" equalsBehavior="identity"</div><div><span class="" style="white-space:pre">                        </span>declarativeAgenda="disabled" scope="javax.enterprise.context.ApplicationScoped"</div>
<div><span class="" style="white-space:pre">                        </span>packages="com.sophic.drool"></div><div><span class="" style="white-space:pre">                        </span><kie:ksession name="defaultKieSession" type="stateful"</div>
<div><span class="" style="white-space:pre">                                </span>default="true" clockType="realtime"</div><div><span class="" style="white-space:pre">                                </span>scope="javax.enterprise.context.ApplicationScoped" /></div>
<div><span class="" style="white-space:pre">                        </span><kie:ksession name="defaultStatelessKieSession" type="stateless"</div><div><span class="" style="white-space:pre">                                </span>default="true" clockType="realtime"</div>
<div><span class="" style="white-space:pre">                                </span>scope="javax.enterprise.context.ApplicationScoped" /></div><div><span class="" style="white-space:pre">                </span></kie:kbase></div><div><span class="" style="white-space:pre">        </span></kie:kmodule></div>
<div><span class="" style="white-space:pre">        </span><bean id="kiePostProcessor" class="org.kie.spring.KModuleBeanFactoryPostProcessor" /></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"><<a href="mailto:vinodkiran@usa.net" target="_blank">vinodkiran@usa.net</a>></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>
<bean id="kiePostProcessor"<br>
class="org.kie.spring.annotations.KModuleAnnotationPostProcessor"/><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>