Thanks for feeding back your solution.<br><br>It's bound to be of help to others who find themselves in a similar position to yourself.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 1 August 2011 19:10, lhorton <span dir="ltr"><<a href="mailto:LHorton@abclegal.com">LHorton@abclegal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Got around this error for now by using non-strict mode for mvel. I have seen<br>
inquiries before on this forum about how to set the<br>
drools.dialect.mvel.strict property using Spring config so thought I'd share<br>
my bean definition. One caveat is to make sure the mvel config bean is<br>
created before any drools spring config loads. The config below gets the<br>
system properties, then adds the mvel property to the existing ones.<br>
<br>
<bean<br>
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"><br>
<property name="targetObject"><br>
<bean<br>
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"><br>
<property name="targetClass" value="java.lang.System" /><br>
<property name="targetMethod" value="getProperties" /><br>
</bean><br>
</property><br>
<property name="targetMethod" value="putAll" /><br>
<property name="arguments"><br>
<br>
<props><br>
<prop key="drools.dialect.mvel.strict">false</prop><br>
</props><br>
</property><br>
</bean><br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/error-resolving-class-name-on-imported-class-when-loading-package-tp3210034p3216638.html" target="_blank">http://drools.46999.n3.nabble.com/error-resolving-class-name-on-imported-class-when-loading-package-tp3210034p3216638.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>