I have a non maven project which I think I have included all the relevant
dependencies manually into
I run the following code
KieServices ks = KieServices.Factory.get();
KieContainer kContainer = ks.getKieClasspathContainer();
KieBase kieBase = kContainer.getKieBase();
StatelessKieSession session = kContainer.newStatelessKieSession();
session.execute("test");
and get the following error message. Is there anything obvious anyone can
suggest? kmodule.xml is in a META_INF folder on the classpath.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
15-Nov-2013 16:12:41
org.drools.compiler.kie.builder.impl.ClasspathKieProject discoverKieModules
INFO: Found kmodule:
file:/C:/eclipse%20workspace/Sales/build/classes/META-INF/kmodule.xml
15-Nov-2013 16:12:41
org.drools.compiler.kie.builder.impl.ClasspathKieProject getPomProperties
WARNING: Unable to load pom.properties tried recursing down from/eclipse
workspace/Sales/build/classes
null
15-Nov-2013 16:12:41
org.drools.compiler.kie.builder.impl.ClasspathKieProject discoverKieModules
SEVERE: Unable to build index of kmodule.xml
url=file:/C:/eclipse%20workspace/Sales/build/classes/META-INF/kmodule.xml
null
Exception in thread "main" java.lang.RuntimeException: Cannot find a default
KieBase
at
org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:160)
at com.axa.travel.drools.DroolsSalesTest.go(DroolsSalesTest.java:82)
at com.axa.travel.drools.DroolsSalesTest.main(DroolsSalesTest.java:26)l
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-6-Unable-to-build-index-of-kmodu...
Sent from the Drools: User forum mailing list archive at
Nabble.com.