<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Edson,<div>Eric was kind enough to reply that he "solved" his problem by including ALL of the jars in the drools lib distribution directory in his classpath -- not just the drools jars, mvel, and eclipse jars.</div><div>If I do this, JBoss 4.2.1 complains about not being able to parse its xml configuration files, so I'm narrowing the jars I'm including to see if I can isolate what's missing.</div><div><br><div><div>On Nov 5, 2007, at 6:15 AM, Edson Tirelli wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>&nbsp;&nbsp; Maybe any of you can zip a small project showing this problem and send me. I will dig down to find the problem and we can have an answer available to all. This is for sure a classpath problem, so just a matter of finding out exactly what is missing. <br><br>&nbsp;&nbsp; []s<br>&nbsp;&nbsp; Edson<br><br><br><div><span class="gmail_quote">2007/11/4, Robert Morse &lt;<a href="mailto:rmorse@mdesignz.com">rmorse@mdesignz.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello Eric,<br>If you find a solution for this, please let me know.&nbsp;&nbsp;I'm experiencing<br>a similar problem.<br>Thanks.<br><br>-robert.<br><br>On Oct 15, 2007, at 7:00 PM, Chong Minsk Goh wrote:<br><br>&gt; Hi Mark,<br> &gt;<br>&gt; Thank for the tips. : )<br>&gt;<br>&gt; I have added the required mvel14-1.2.8.jar in my classpath. However,<br>&gt; I still encounter the same error.<br>&gt;<br>&gt; Could it be a class loader issue or JRE version? <br>&gt;<br>&gt; I tried to trace the class loader. Drools is used in my application<br>&gt; (running in netbeans). My application is using<br>&gt; java.net.FactoryURLClassLoader. On plain netbeans project (before<br>&gt; the error occurs), the class loader is sun.misc.Launcher<br>&gt; $AppClassLoader. My netbeans is using JRE v 1.6.0<br>&gt;<br>&gt; The error occurs when PackageBuilder is initialised.<br>&gt;<br>&gt; Package Builder builder = new PackageBuilder();<br>&gt;<br>&gt; Also, for the Drools Eclipse plugin (on a seperate occassion), when <br>&gt; i import some codes, it prompt me that Drools project is not a Java<br>&gt; 5.0 project.<br>&gt;<br>&gt;<br>&gt; Best regards!<br>&gt; Eric<br>&gt;<br>&gt;<br>&gt; Chong Minsk Goh wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; I am trying to run Drools on Netbeans. I have added the jars from<br>&gt; &gt; Drools 4.0.2.<br>&gt; &gt;<br>&gt; &gt; However, I encountered an error<br>&gt; &gt;<br>&gt; &gt; org.doxa.rules.RulesManager - org.drools.RuntimeDroolsException:<br>&gt; &gt; Unable to load dialect<br>&gt; &gt; 'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel'<br>&gt; MVEL is a required jar, not an optional one, put it on your classpath <br>&gt; and hopefully this should work for you.<br>&gt; &gt;<br>&gt; &gt; I did not use any MVEL dialects in my rules definition. Here is my<br>&gt; rule:<br>&gt; &gt; *<br>&gt; &gt;<br>&gt; &gt; rule<br>&gt; &gt;<br>&gt; &gt; * "Out of Range" *when* m : Message( message == "checkRange" , <br>&gt; status<br>&gt; &gt; == 1 )<br>&gt; &gt;<br>&gt; &gt; Range(myMin : myMin, myMax : myMax, myValue : myValue)<br>&gt; &gt;<br>&gt; &gt; Range(myValue &lt; myMin || myValue &gt; myMax)<br>&gt; &gt;<br>&gt; &gt; *then* m.setMessage("");<br>&gt; &gt;<br>&gt; &gt; m.setStatus (0);<br>&gt; &gt;<br>&gt; &gt; *end*<br>&gt; &gt;<br>&gt; &gt; Has anyone attempted using Netbeans with Drools and faced this<br>&gt; problem?<br>&gt; &gt; <br>&gt; &gt; Best regards<br>&gt; &gt; Eric<br>&gt;<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org </a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli <br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a> _______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></div></body></html>