我只想关闭严格模式。这个问题有一个古老的方法:disable strict mode in drools。我想在Java或kmodule.xml或属性文件中进行,如果可能的话,不在jvm args中。感谢
答案 0 :(得分:0)
使用kmodule.xml中的<configuration>
元素设置属性:
<kmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.drools.org/xsd/kmodule">
<configuration>
<property key="drools.dialect.mvel.strict" value="false" />
</configuration>
...
</kmodule>