drools的error:Jboss rule 6.4.0 Cannot find a default StatelessKieSession

drools的kmodule.xml文件,如果是默认加载必须放在META-INF的文件夹下,如下图

 

 

官网大佬原话

Have you defined kieSession and KieBase names in komdule.xml which is placed under META-INF directory. If not, try to define and check if you face same issue or not.

 

posted @ 2018-09-11 11:49  lgp20151222  阅读(1167)  评论(0编辑  收藏  举报