[rules-users] Problem when creating KieModuleModel
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/kiemodulemodel-example 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 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Problem when creating KieModuleModel
http://bit.ly/1eKm7lC Mark On 15 Jan 2014, at 19:35, Demian Calcaprina calcacue...@gmail.com wrote: 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/kiemodulemodel-example 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 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Problem when creating KieModuleModel
Thanks Mark, very instructive. On Wed, Jan 15, 2014 at 5:21 PM, Mark Proctor mproc...@codehaus.org wrote: http://bit.ly/1eKm7lC Mark On 15 Jan 2014, at 19:35, Demian Calcaprina calcacue...@gmail.com wrote: 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/kiemodulemodel-example 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 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users