<div dir="ltr">Build path and class path. version <a href="http://1.7.5.Do">1.7.5.Do</a> i have to add all other jars in the package?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 2:20 PM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Where did you add it? which version?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:02 PM, Moses Kalema <span dir="ltr">&lt;<a href="mailto:mkgremo20@gmail.com" target="_blank">mkgremo20@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have added it but still get the same error.I can even import that class in my code.<div><pre><div><div>


com.google.gwt.user.server.rpc.UnexpectedException: Service method &#39;public abstract com.planet.requisition.client.rules.RequisitionTemp com.planet.requisition.client.rules.RequisitionTempService.getRequisitionDet(java.lang.String,int)&#39; threw an unexpected exception: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory<br>



        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)<br>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>



        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>



        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>



        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>



        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>



        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>



        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>



        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)<br>Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory<br>        at org.drools.util.ServiceRegistryImpl.&lt;clinit&gt;(ServiceRegistryImpl.java:55)<br>



        at org.drools.builder.KnowledgeBuilderFactory.loadServiceFactory(KnowledgeBuilderFactory.java:130)<br>        at org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderServiceFactory(KnowledgeBuilderFactory.java:124)<br>



        at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)<br></div></div>        at com.planet.requisition.server.RequisitionTempServiceImpl.getRequisitionDet(RequisitionTempServiceImpl.java:49)<div>


<div><br>
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>        at java.lang.reflect.Method.invoke(Unknown Source)<br>



        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>



        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>



        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>



        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>



        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>



        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>



        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>



        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)<br>Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory<br>        at java.net.URLClassLoader$1.run(Unknown Source)<br>        at java.security.AccessController.doPrivileged(Native Method)<br>



        at java.net.URLClassLoader.findClass(Unknown Source)<br>        at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:372)<br>        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)<br>



        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)<br>        at org.drools.util.ServiceRegistryImpl.&lt;clinit&gt;(ServiceRegistryImpl.java:55)<br>        at org.drools.builder.KnowledgeBuilderFactory.loadServiceFactory(KnowledgeBuilderFactory.java:130)<br>



        at org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderServiceFactory(KnowledgeBuilderFactory.java:124)<br>        at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)<br>


</div></div>
        at com.planet.requisition.server.RequisitionTempServiceImpl.getRequisitionDet(RequisitionTempServiceImpl.java:49)<div><div><br>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>



        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>        at java.lang.reflect.Method.invoke(Unknown Source)<br>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>



        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>



        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>



        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>



        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>



        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>



        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>



        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)</div></div></pre></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 1:05 PM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you are using maven you will need to add the dependency to your pom file.. if not you will need to get the jar from somewhere.. like here for example: <a href="http://slf4j.org" target="_blank">http://slf4j.org</a></div>



<div><div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 11:01 AM, Moses Kalema <span dir="ltr">&lt;<a href="mailto:mkgremo20@gmail.com" target="_blank">mkgremo20@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Where can i get?</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Sep 11, 2013 at 12:53 PM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, so the error is pretty clear: <span style="white-space:pre-wrap">java.lang.</span><span style="white-space:pre-wrap">NoClassDefFoundError: org/slf4j/LoggerFactory</span><div>






<span style="white-space:pre-wrap"><br>

</span></div><div><span style="white-space:pre-wrap">You need to add that to your </span><span style="white-space:pre-wrap">class path</span></div></div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Sep 11, 2013 at 10:51 AM, Moses Kalema <span dir="ltr">&lt;<a href="mailto:mkgremo20@gmail.com" target="_blank">mkgremo20@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In my serviceImplementation[in the server package] class in GWT RPC <div>When i try to check the execution the system doesn&#39;t run this line: KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();<br>









<div><div><br></div><div>KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();</div><div><span style="white-space:pre-wrap">                </span>//inputStream = this.getClass().getClassLoader().getResourceAsStream(&quot;ChangeSet.xml&quot;);</div>









<div><span style="white-space:pre-wrap">                </span>url= this.getClass().getClassLoader().getResource(&quot;ChangeSet.xml&quot;);</div><div><span style="white-space:pre-wrap">                </span>workingDirectory = System.getProperty(&quot;user.dir&quot;);</div>









<div><span style="white-space:pre-wrap">                </span>System.out.println(&quot;URL &quot;+url);</div><div><span style="white-space:pre-wrap">                </span>file = new File(workingDirectory +&quot;/src/ChangeSet.xml&quot;);</div>
<div><span style="white-space:pre-wrap">                </span>if(file.exists()){</div><div><span style="white-space:pre-wrap">                </span>System.out.println(&quot;Directory &quot;+file.getName());</div><div><span style="white-space:pre-wrap">                </span></div>









<div><span style="white-space:pre-wrap">                </span>}</div><div><span style="white-space:pre-wrap">                </span>else{</div><div><span style="white-space:pre-wrap">                        </span>System.out.println(&quot;File not seen&quot;);</div>
<div><span style="white-space:pre-wrap">                </span>}</div><div><span style="white-space:pre-wrap">                                </span>kbuilder.add( ResourceFactory.newUrlResource(url),ResourceType.CHANGE_SET);</div><div><span style="white-space:pre-wrap">                </span></div>









<div><span style="white-space:pre-wrap">                                </span>if( kbuilder.hasErrors() ) {</div><div><br></div><div><span style="white-space:pre-wrap">                                </span>    System.out.println( kbuilder.getErrors() );</div><div><span style="white-space:pre-wrap">                                </span>    System.out.println(&quot;The changeset file has errors&quot;);</div>









<div><span style="white-space:pre-wrap">                                </span>   // return;</div><div><span style="white-space:pre-wrap">                                </span>}else{</div><div><span style="white-space:pre-wrap">                                        </span>System.out.println(&quot;The changeset has no errors&quot;);</div>









<div><span style="white-space:pre-wrap">                                </span>}</div><div><span style="white-space:pre-wrap">                                </span>    </div><div><span style="white-space:pre-wrap">                                </span> KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();</div>









<div><span style="white-space:pre-wrap">                                </span> System.out.println(&quot;knowledgebase has been created&quot;);</div><div><span style="white-space:pre-wrap">                                </span> </div><div><span style="white-space:pre-wrap">                                </span> KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( &quot;MyAgent&quot; );</div>









<div><span style="white-space:pre-wrap">                                </span>// URL url = getClass().getResource(&quot;ChangeSet.xml&quot;);</div><div><span style="white-space:pre-wrap">                                </span>// File file = new File(url.getPath());</div>
<div><span style="white-space:pre-wrap">                                </span> kagent.applyChangeSet( ResourceFactory.newUrlResource(url) );</div><div><span style="white-space:pre-wrap">                                </span> kbase = kagent.getKnowledgeBase();</div><div>
<span style="white-space:pre-wrap">                                </span> ResourceFactory.getResourceChangeNotifierService().start();</div><div><span style="white-space:pre-wrap">                                </span> ResourceFactory.getResourceChangeScannerService().start();</div>









<div><span style="white-space:pre-wrap">                                </span> System.out.println(&quot;knowledge agent created&quot;);</div><div><span style="white-space:pre-wrap">                                </span> </div><div><span style="white-space:pre-wrap">                                </span> StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();</div>









<div><span style="white-space:pre-wrap">                                </span> System.out.println(&quot;session created&quot;);</div><div><span style="white-space:pre-wrap">                                </span> FactType factType = kbase.getFactType(&quot;procnet.requisition.test&quot;, &quot;requisition&quot;);</div>









<div><span style="white-space:pre-wrap">                                </span>try {</div><div><span style="white-space:pre-wrap">                                        </span>Object obj = factType.newInstance();</div><div><span style="white-space:pre-wrap">                                        </span>factType.set(obj, &quot;requisitionType&quot;, requisitionType);</div>









<div><span style="white-space:pre-wrap">                                        </span>factType.set(obj, &quot;totalCost&quot;, totalCost);</div><div><span style="white-space:pre-wrap">                                        </span>FactHandle objHandle = ksession.insert(obj);</div><div>
<span style="white-space:pre-wrap">                                        </span>ksession.fireAllRules();</div><div><span style="white-space:pre-wrap">                                        </span>System.out.println(factType.get(obj, &quot;approvalMessage&quot;));</div><div><span style="white-space:pre-wrap">                                        </span>approvalMessage = (String) factType.get(obj, &quot;approvalMessage&quot;);</div>









<div><span style="white-space:pre-wrap">                                        </span>//System.out.println(factType.get(obj, &quot;name&quot;));</div><div><span style="white-space:pre-wrap">                                </span>} catch (InstantiationException e) {</div><div>
<span style="white-space:pre-wrap">                                        </span></div><div><span style="white-space:pre-wrap">                                        </span>e.printStackTrace();</div><div><span style="white-space:pre-wrap">                                </span>} catch (IllegalAccessException e) {</div>









<div><span style="white-space:pre-wrap">                                        </span></div><div><span style="white-space:pre-wrap">                                        </span>e.printStackTrace();</div><div><span style="white-space:pre-wrap">                                </span>}</div><div><span style="white-space:pre-wrap">                                </span>return approvalMessage;<span style="white-space:pre-wrap">        </span> </div>









</div></div><div>This is the exact code i use in a normal java application and it works fine,infact even when i run the class as a java application it returns the approve message from guvnor. </div><div>I find this strange</div>









<div>This is the error am getting,</div><div>        02:19:43.040 [WARN] Exception while dispatching incoming RPC call

    <pre>com.google.gwt.user.server.rpc.UnexpectedException: Service method &#39;public abstract com.planet.requisition.client.rules.RequisitionTemp com.planet.requisition.client.rules.RequisitionTempService.getRequisitionDet(java.lang.String,int)&#39; threw an unexpected exception: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory<br>









        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)<br>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>









        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>









        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>









        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>









        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>









        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>









        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>









        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)<br>Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory<br>        at org.drools.util.ServiceRegistryImpl.&lt;clinit&gt;(ServiceRegistryImpl.java:55)<br>









        at org.drools.builder.KnowledgeBuilderFactory.loadServiceFactory(KnowledgeBuilderFactory.java:130)<br>        at org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderServiceFactory(KnowledgeBuilderFactory.java:124)<br>









        at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)<br>        at com.requisition.RequisitionApproval.main(RequisitionApproval.java:35)<br>        at com.requisition.TestInputStream.main(TestInputStream.java:22)<br>









        at com.planet.requisition.server.RequisitionTempServiceImpl.getRequisitionDet(RequisitionTempServiceImpl.java:37)<br>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>









        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>        at java.lang.reflect.Method.invoke(Unknown Source)<br>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>









        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>









        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>









        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>









        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>









        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>









        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>









        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)<br>Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory<br>        at java.net.URLClassLoader$1.run(Unknown Source)<br>        at java.security.AccessController.doPrivileged(Native Method)<br>









        at java.net.URLClassLoader.findClass(Unknown Source)<br>        at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:372)<br>        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)<br>









        at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)<br>        at org.drools.util.ServiceRegistryImpl.&lt;clinit&gt;(ServiceRegistryImpl.java:55)<br>        at org.drools.builder.KnowledgeBuilderFactory.loadServiceFactory(KnowledgeBuilderFactory.java:130)<br>









        at org.drools.builder.KnowledgeBuilderFactory.getKnowledgeBuilderServiceFactory(KnowledgeBuilderFactory.java:124)<br>        at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)<br>









        at com.requisition.RequisitionApproval.main(RequisitionApproval.java:35)<br>        at com.requisition.TestInputStream.main(TestInputStream.java:22)<br>        at com.planet.requisition.server.RequisitionTempServiceImpl.getRequisitionDet(RequisitionTempServiceImpl.java:37)<br>









        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>        at java.lang.reflect.Method.invoke(Unknown Source)<br>









        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>









        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>









        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)<br>        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)<br>        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)<br>









        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)<br>        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)<br>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)<br>









        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>        at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)<br>        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br>









        at org.mortbay.jetty.Server.handle(Server.java:324)<br>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)<br>        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)<br>









        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)<br>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)<br>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)<br>        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)<br>









        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)</pre></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 11:11 AM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span> wrote:<br>









<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, we are using GWT and Drools in all our tooling.. For example if you take a look at the kie-wb workbench or the jbpm-console-ng they are create Knowledge Session (kie sessions) right now.</div>









<div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div>On Wed, Sep 11, 2013 at 9:07 AM, Moses Kalema <span dir="ltr">&lt;<a href="mailto:mkgremo20@gmail.com" target="_blank">mkgremo20@gmail.com</a>&gt;</span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>

<div dir="ltr">Hello everyone,<div>I recently started using Drools Guvnor and i find it necessary. I create rules on Guvnor and fire the rules in a Java application and everything is fine. </div><div>However when i try to access the rules in a GWT application,i get an error which looks like none of the Drools code is executed.</div>












<div>My request is if any one has used rules n a GWT application please help me out<span><font color="#888888"><br clear="all"><div><br></div>-- <br>Moses Kalema<div>Bachelor Science in Computer Engineering</div>

<div>Software/Mobile/Embedded Systems Developer</div>
<div><a href="tel:%2B256773391723" value="+256773391723" target="_blank">+256773391723</a></div><div><a href="tel:%2B256704209937" value="+256704209937" target="_blank">+256704209937</a></div><div>Skype: mkgremo</div><div>











Twitter: @mkgremo</div><div>&quot;Life&#39;s Success is based on Opportunity not Chance&quot;</div><div><br></div>
</font></span></div></div>
<br></div></div><div>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></div></blockquote></div><span><font color="#888888"><br><br clear="all">
<div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div>

 - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>











</div>
</font></span></div>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Moses Kalema<div>Bachelor Science in Computer Engineering</div>









<div>Software/Mobile/Embedded Systems Developer</div><div><a href="tel:%2B256773391723" value="+256773391723" target="_blank">+256773391723</a></div><div><a href="tel:%2B256704209937" value="+256704209937" target="_blank">+256704209937</a></div>








<div>Skype: mkgremo</div><div>Twitter: @mkgremo</div><div>&quot;Life&#39;s Success is based on Opportunity not Chance&quot;</div>
<div><br></div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div>








 - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>








</div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Moses Kalema<div>Bachelor Science in Computer Engineering</div>






<div>Software/Mobile/Embedded Systems Developer</div><div><a href="tel:%2B256773391723" value="+256773391723" target="_blank">+256773391723</a></div><div><a href="tel:%2B256704209937" value="+256704209937" target="_blank">+256704209937</a></div>





<div>Skype: mkgremo</div><div>Twitter: @mkgremo</div><div>&quot;Life&#39;s Success is based on Opportunity not Chance&quot;</div>
<div><br></div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div>





 - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>





</div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Moses Kalema<div>Bachelor Science in Computer Engineering</div>



<div>Software/Mobile/Embedded Systems Developer</div><div><a href="tel:%2B256773391723" value="+256773391723" target="_blank">+256773391723</a></div><div><a href="tel:%2B256704209937" value="+256704209937" target="_blank">+256704209937</a></div>


<div>Skype: mkgremo</div><div>Twitter: @mkgremo</div><div>&quot;Life&#39;s Success is based on Opportunity not Chance&quot;</div>
<div><br></div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div>


 - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div>


</div>
</div>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Moses Kalema<div>Bachelor Science in Computer Engineering</div>
<div>Software/Mobile/Embedded Systems Developer</div><div>+256773391723</div><div>+256704209937</div><div>Skype: mkgremo</div><div>Twitter: @mkgremo</div><div>&quot;Life&#39;s Success is based on Opportunity not Chance&quot;</div>
<div><br></div>
</div>