Hi Guys!
I am having a problem using drools 6 in my project. And I was able to
reproduce it in one of the examples..
I just got this example:
https://github.com/droolsjbpm/drools/tree/master/drools-examples-api/kiem...
built the 2 dependant projects, kiebase inclusion and namedkiesession.
Then, run the org.drools.example.api.kiemodulemodel.KieModuleModelExample
in my eclipse, and I get the following:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See
http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
Exception in thread "main" java.lang.NullPointerException
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.generateKieModuleMetaInfo(KieBuilderImpl.java:222)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:194)
at
org.drools.example.api.kiemodulemodel.KieModuleModelExample.go(KieModuleModelExample.java:39)
at
org.drools.example.api.kiemodulemodel.KieModuleModelExample.main(KieModuleModelExample.java:63)
Exactly the same happens when I do the same in my project.
Any ideas?
Thanks!
Demian