Hi,
I am trying to include a another kbase in KIE Spring project. This is the configuration
knowledge-services.xml
<kie:kmodule id="kie-spring">
<kie:kbase name="kie-base" includes="rules1Package" packages="au.org.nps.dsaas.rules" >
<kie:ksession name="ksession1" type="stateless" >
<kie:consoleLogger />
</kie:ksession>
</kie:kbase>
</kie:kmodule>
<bean id="kiePostProcessor" class="org.kie.spring.KModuleBeanFactoryPostProcessor"/>
kmodule.xml
<?xml version="1.0" encoding="UTF-8"?>
<kbase name="rules1Package" packages="au.org.nps.dsaas.rules1" >
<ksession name="ksession2" type="stateless" />
</kbase>
</kmodule>
My KIE modules are discovered and I can see following in the logs
09:59:36,642 DEBUG [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (ServerService Thread Pool -- 91) Found and used pom.properties META-INF/maven/au.org.nps.dsaas/rules-repository/pom.properties
09:59:36,645 DEBUG [org.drools.compiler.kie.builder.impl.ClasspathKieProject] (ServerService Thread Pool -- 91) Discovered classpath module au.org.nps.dsaas:rules-repository:0.0.1-SNAPSHOT
But Spring context fails to load and I get the following errors:
09:59:39,547 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (ServerService Thread Pool -- 91) Unable to build KieBase, could not find include: rules1Package
Any suggestions?
Thanks
Ashish