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.

   []s
   Edson


2007/11/4, Robert Morse <rmorse@mdesignz.com>:
Hello Eric,
If you find a solution for this, please let me know.  I'm experiencing
a similar problem.
Thanks.

-robert.

On Oct 15, 2007, at 7:00 PM, Chong Minsk Goh wrote:

> Hi Mark,
>
> Thank for the tips. : )
>
> I have added the required mvel14-1.2.8.jar in my classpath. However,
> I still encounter the same error.
>
> Could it be a class loader issue or JRE version?
>
> I tried to trace the class loader. Drools is used in my application
> (running in netbeans). My application is using
> java.net.FactoryURLClassLoader. On plain netbeans project (before
> the error occurs), the class loader is sun.misc.Launcher
> $AppClassLoader. My netbeans is using JRE v 1.6.0
>
> The error occurs when PackageBuilder is initialised.
>
> Package Builder builder = new PackageBuilder();
>
> Also, for the Drools Eclipse plugin (on a seperate occassion), when
> i import some codes, it prompt me that Drools project is not a Java
> 5.0 project.
>
>
> Best regards!
> Eric
>
>
> Chong Minsk Goh wrote:
> > Hi,
> >
> > I am trying to run Drools on Netbeans. I have added the jars from
> > Drools 4.0.2.
> >
> > However, I encountered an error
> >
> > org.doxa.rules.RulesManager - org.drools.RuntimeDroolsException:
> > Unable to load dialect
> > 'org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration:mvel'
> MVEL is a required jar, not an optional one, put it on your classpath
> and hopefully this should work for you.
> >
> > I did not use any MVEL dialects in my rules definition. Here is my
> rule:
> > *
> >
> > rule
> >
> > * "Out of Range" *when* m : Message( message == "checkRange" ,
> status
> > == 1 )
> >
> > Range(myMin : myMin, myMax : myMax, myValue : myValue)
> >
> > Range(myValue < myMin || myValue > myMax)
> >
> > *then* m.setMessage("");
> >
> > m.setStatus (0);
> >
> > *end*
> >
> > Has anyone attempted using Netbeans with Drools and faced this
> problem?
> >
> > Best regards
> > Eric
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com