Hi,<br>
<br>
Does drools work with JDK 1.4 ?<br>
<br>
The following is what i have in my xml rules file<br>
<br>
<?xml version="1.0"?><br>
<rule-set name="Tests assignment rules" xmlns="<a href="http://drools.org/rules">http://drools.org/rules</a>"<br>
xmlns:java="<a href="http://drools.org/semantics/java">http://drools.org/semantics/java</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<br>
<java:import>java.lang.String</java:import> <br>
<java:import>java.util.List</java:import><br>
<br>
<rule name="rule1" salience="100"><br>
<parameter identifier="message"><br>
<java:class><br>
String<br>
</java:class><br>
</parameter> <br>
<java:condition>message.equals("testMessage")</java:condition> <br>
<java:consequence><br>
System.out.println("Received message "+testMessage);<br>
</java:consequence><br>
</rule><br>
<br>
</rule-set><br>
<br>
<br>
Have included the following jar files in the classpath.<br>
1) drools-compiler-4.0.0.jar<br>
2) drools-core-4.0.0.jar<br>
3) antlr-runtime-3.0.jar<br>
4) core-3.2.3.v_686_R32x.jar<br>
5) mvel14-1.2rc1.jar<br>
<br>
Have placed the rules in an xml file. The xml file is placed in the<br>
folder/package "rules/test". When the application tries to call the<br>
"loadFromReader" method, after getting the InputStreamReader, i get the<br>
following exception<br>
<br>
[8/10/07 13:16:24:173 GMT] 00000045 SystemErr R<br>
org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing<br>
package name for rule package.<br>
<br>
Would appreciate if someone could guide me on this.<br>
<br>
<br>
-- <br>
P.N.Subramanian <br clear="all"><br>