Drools rules import with wildcard
Posted
by ZeKoU
on Stack Overflow
See other posts from Stack Overflow
or by ZeKoU
Published on 2010-05-12T11:41:38Z
Indexed on
2010/05/12
11:44 UTC
Read the original article
Hit count: 249
Hello everyone,
I am working with Drools rules. Some developers have created rules which I have to put on Guvnor (rules repository) and build packages. In these rules they have import statements with wildcards, for example: import org.drools.runtime.rule.*;
When I upload this on Guvnor and try to build, it tells me: Unable to introspect model for wild card imports (org.drools.runtime.rule.*). Please explicitly import each fact type you require.
Is it possible to use wildcard imports in Drools rules???
© Stack Overflow or respective owner