I believe that you can only import one class with the same name,
regardless of package. To access the other class within your code, you
will need to refer to it every time with the fully qualified class name.
This conforms to the behavior of Java source files.
On 4/20/11 11:38 AM, "Boban Abraham" <boban_abraham(a)mindtree.com> wrote:
Hi,
We have scenario in which the imported java classes have same name but
different package.
The drools guvnor is throwing compilation error stating that import
statements are colliding, even though the java class packages are
different.
Please let me know if there are any solutions for this issue.
Thanks,
Boban
--
View this message in context:
http://drools.46999.n3.nabble.com/compilation-error-Import-statements-are-
colliding-tp2842283p2842283.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users