The use of a java.lang.* Class in the LHS of a rule causes Exception in thread "XXX" java.lang.Error: Unable to find unambiguously defined class 'XXX' errors when rules are loaded for parsing. Workaround is to use fully qualified Class name in LHS. For example:-
rule "A rule"
JIRA raised at the request of Mark Proctor:-
email@example.com On Behalf Of Mark Proctor
Sent: 20 January 2007 13:50
To: Rules Users List
Subject: Re: [rules-users] Exception in thread "main" java.lang.Error:
Unableto find unambiguously defined class
Actually this is also a bug, if you declare something as an import, it
should override the default java.lang.* imports - can you open a JIRA
for this bug.