<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1589" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=934012216-14032007><FONT
size=2>COMPILER - rule assembly time<BR>Rule compiler takes rules in some
textual format and prepares binary Packages of rules for deployment. This
depends on the CORE RUNTIME.</FONT></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=934012216-14032007><FONT
size=2> * drools-core<BR> * drools-compiler
- the rule compiler itself.<BR> * antlr3 - only if you are
using native DRL. if only using XML, you can skip this.<BR> *
xerces, xml-apis - only if you are using XML rules, if DRL only, can skip
this.<BR> *
commons-jci-core<BR> o
This also requires only one pair out
of:<BR>
+ commons-jci-eclipse, core-3.2 - for eclipse JDT to compile the java semantics
(this is
default)<BR>
+ commons-jci-janino, janino - for janino. To use this option, set
-Ddrools.compiler=JANINO or use PackageBuilderConfiguration?
class.<BR> * commons-logging - used by various
dependencies.<BR> * commons-lang - used for string
manipulation in various dependencies.<BR> * stringtemplate,
anlr-2.7.6 - used in generating semantic code.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=934012216-14032007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=934012216-14032007></SPAN></FONT> </DIV><SPAN
class=934012216-14032007></SPAN><FONT face=Arial><FONT color=#0000ff><FONT
size=2>Tom G<SPAN class=934012216-14032007></SPAN></FONT></FONT></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>S
Reed<BR><B>Sent:</B> Wednesday, March 14, 2007 12:12 PM<BR><B>To:</B> Rules
Users List<BR><B>Subject:</B> Re: [rules-users] Error compiling rules (3.1M1).
NoSuchMethodError:
EclipseJavaCompiler.<init>(java/util/Map)<BR></FONT><BR></DIV>
<DIV></DIV>Thank you, Tom. <BR><BR>I replaced antlr-2.7.6 with 2.7.7 and antlr
3.0ea8 with the 3.0b5 that came with the Drools 3.1M1 release. <BR>I upgraded
stringtemplate to 3.0.<BR>None of these changes helped which is not too
surprising since the error is in the commons-jci code:<BR>
<BLOCKQUOTE>Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.commons.jci.compilers.EclipseJavaCompiler.<init>(Ljava/util/Map;)V.<BR></BLOCKQUOTE>I
have a critical question. If you removed commons-jci-eclipse-3.2.0.666.jar, what
did you replace it with? Since the error I am getting is in that jar, I am very
interested in this answer. There is no version of that jar in the 3.1M1
release.<BR><BR>If anyone else can weigh in here and enlighten me I'd appreciate
it.<BR><BR> Scott<BR><BR><BR><BR>Tom Gonzalez's message received 3/13/2007
6:43 PM:
<BLOCKQUOTE
cite=mid25E284CCA9C9A14B89515B116139A94D1085AECF@zrtphxm0.corp.nortel.com
type="cite"><PRE wrap=""> Here are the changes We are using.
Remove
antlr-3.0ea8.jar
antlr-2.7.6.jar
commons-jci-eclipse-3.2.0.666.jar
core-3.2.0.666.jar
stringtemplate-2.3b6.jar
Remove
drools-compiler-3.0.4.jar
drools-core-3.0.4.jar
Add
antlr-2.7.7.jar
antlr-3.0b5.jar
core-3.2.1.v_677_R32x.jar
stringtemplate-3.0.jar
xstream-1.1.3.jar
Add
drools-compiler-3.1.0-M1.jar
drools-core-3.1.0-M1.jar</PRE></BLOCKQUOTE><BR></BODY></HTML>