讓我描述一下我的用例的抽象,這樣問題的意圖就會清晰。 使用案例: (i). If there is already an object objA of type A, create another obj2A of type
A.
(ii).If there are more than one object of type A, create an object objB of typ
我們有一個正在運行的項目,使用Drools 6.5並希望將其遷移到7.0。 當改變Drools的依賴關係的版本,運行該項目,下面的異常被拋出: All accumulate functions must be registered before building a resourceUnknown accumulate function: 'countDistinct' on rule 'IPCP
我已經設法運行CDI使用版本6.3.0.Final,CDI版本1.2和焊縫版本2.30.最終運行Drools。使用下面的代碼示例。 https://github.com/Salaboy/drools-workshop/tree/master/my-first-drools-project public class App {
@Inject
@KSession
pr