you need to make your Outer class static and public. Look at the sample generated with a new drools project, that uses a static public class.
Mark
Narendra Valada wrote:Hello,I am getting an "Unable to resolve object type" error on certain XML Bean generated inner classes. I get this error only on inner classes that have been defined within other inner classes. Please see example below.Is this a known limitation of JBoss Rules (I am using JBOSS Rules 3.0.6) or the JANINO compiler?Thanks.com.sample;package
public
class Outer{ public class Inner { public boolean inner =false; public class InnerInner {}
}
}
packagecom.sampleimport
com.sample.Outer1.Inner.InnerInner;rule
"Hello World 1" whenInnerInner()
thenSystem.out.println(
"");end
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users