問題タブ [drools-kie-server]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Unable to Analyse Expression error for large rules
We are using Drools v6.3.4 - but tested that the same issue is happening in v7.3.0 as well. When we write a rule where the rule is 27000 characters long or more, we get "Unable to Analyse Expression" error
We have a workaround which is to split the rule up like this -
What is the underlying reason for the error we are getting with a single long list? Is there a better way to handle such rules other than the workaround specified above?
When we are having large rule , we are getting the following error.
drools - 「KieModule が見つかりません」という例外の理由として考えられるものは何ですか?
4 つのルール ファイルがあり、そのうちの 2 つに問題があります。これら2つを削除すると、droolsは正常に実行されます。しかし、これら 2 つのルール ファイルを使用すると、常に上記の例外が発生します。
問題のあるファイルの 1 つをhttp://www.mediafire.com/file/6xsm8ilxysmyq3i/rulefile.drlに保存しました。それは自動生成され、すぐにオフになると確信しています。一行一行チェックするのは難しいので、KieModule 例外のヒントを得るには何をチェックすればよいか、アドバイスを求めていました。
すべてがスムーズに実行される他の 2 つのファイルは、おそらく小さいことを除いて同じ構造です。だからほとんどわからない。
どんな助けでも大歓迎です。
- Eclipse エディターにエラーは表示されません。
構文的に正しいルールは、起動時に「KieModule が見つかりません」という例外をスローできますか? 私の場合、編集者によると、ルールに構文エラーはありません。