Hello,
 
are you using the IDE plugin with eclipse 3.2 ?
 
You have to add following jar in your in classpath :
 
org.eclipse.jdt.core_3.2.3.v_686_R32x.jar
 
Or something equivalent...
 
-Patrick

 

 

-----Message d'origine-----
De : rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]De la part de fakhfakh ismail
Envoyé : mardi, 1. mai 2007 18:44
À : jboss rules
Objet : [rules-users] Unknown Source

Hello,
First sorry for my bad english,
when I execute my rule project an exception

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment
    at org.drools.compiler.PackageBuilder.loadCompiler(Unknown Source)
    at org.drools.compiler.PackageBuilder.<init>(Unknown Source)
    at org.drools.compiler.PackageBuilder.<init>(Unknown Source)
    at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)
    at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)
    at hero.ra.rules.Rule.fireRules(Rule.java:41)
    at hero.ra.rules.Rule.fireRules(Rule.java:70)
    at hero.ra.rules.test.main(test.java:129)


the class of  java bean is in package hero.rules.data(in folder src)
the class of fire rules in hero.ra.rules (in folder src)
and the file ".drl" in folder "src"
when I make the class javabean and the class of firerule there's not problem
Please I need your  help
Best regards
Ismail


Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.