Can you try prefixing the rule name, and modifying it to be something like:

Something_73_r1 ? just to narrow down the problem a bit.


Michael.

On 2/28/06, fanory <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have this error code when i try to start drools engine with this drl:
> <?xml version="1.0"?>
> <rule-set name="iris.73 ruleset"
>         xmlns="http://drools.org/rules";
>         xmlns:java="http://drools.org/semantics/java";
>         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
>         xs:schemaLocation="http://drools.org/rules rules.xsd
>         http://drools.org/semantics/java java.xsd">
>         <java:import>java.lang.Object</java:import>
>         <java:import>java.lang.String</java:import>
>         <java:import>iris.drools.domain.*</java:import>
>         <java:import>iris.drools.util.*</java:import>
>         <rule name="73.r1">
>         <parameter identifier="beneficiary" >
>                     <class>iris.drools.domain.Beneficiary</class>
>             </parameter>
>             <java:condition>
>                         true
>         </java:condition>
>         <java:consequence>
>
>         </java:consequence>
>         </rule>
> </rule-set>
> I get this message at the compile:
> INFO [main] - loadRules: ../../../drl/iris73v3.drl
> DEBUG [main] - compiling
> drools.org.iris_73_ruleset_1141133065374.java._3_r1_0
> A problem occured compiling the embedded code:
> drools/org/iris_73_ruleset_1141133065374/java/_3_r1_0.java(16)
> The type _3_r1_0 collides with a package
>
> ERROR [main] - org.drools.semantics.java.JavaSemanticCompileError
>
> Thanks in advance !
>
>

Reply via email to