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.
原文地址:https://www.cnblogs.com/ydymz/p/9626724.html