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.
2007/11/4, Robert Morse <firstname.lastname@example.org>:
If you find a solution for this, please let me know. I'm experiencing
a similar problem.
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
> $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!
> 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 -
> > 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
> > * "Out of Range" *when* m : Message( message == "checkRange" ,
> > == 1 )
> > Range(myMin : myMin, myMax : myMax, myValue : myValue)
> > Range(myValue < myMin || myValue > myMax)
> > *then*
> > m.setStatus (0);
> > *end*
> > Has anyone attempted using Netbeans with Drools and faced this
> > Best regards
> > Eric
> rules-users mailing list
rules-users mailing list
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