Thanks for feeding back your solution.
It's bound to be of help to others who find themselves in a similar position to yourself.
With kind regards,
Mike
Got around this error for now by using non-strict mode for mvel. I have seen
inquiries before on this forum about how to set the
drools.dialect.mvel.strict property using Spring config so thought I'd share
my bean definition. One caveat is to make sure the mvel config bean is
created before any drools spring config loads. The config below gets the
system properties, then adds the mvel property to the existing ones.
<bean
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject">
<bean
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="java.lang.System" />
<property name="targetMethod" value="getProperties" />
</bean>
</property>
<property name="targetMethod" value="putAll" />
<property name="arguments">
<props>
<prop key="drools.dialect.mvel.strict">false</prop>
</props>
</property>
</bean>
--
View this message in context: http://drools.46999.n3.nabble.com/error-resolving-class-name-on-imported-class-when-loading-package-tp3210034p3216638.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users