0

I am trying to run the Repast zombie example with Drools but I got same errors at run time. I created the zombie example and added all Drools jar-files into the class path. But when I call the newKnowledgeBuilder() function of the KnowledgeBuilderFactory:

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();

I get this exception:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/drools/builder/KnowledgeBuilderFactory

Has anyone experience in running Repast with Drools?

dplante
  • 2,445
  • 3
  • 21
  • 27
tom
  • 53
  • 4

1 Answers1

0

Check your classpath. You missed drools jar on it.

Koziołek
  • 2,791
  • 1
  • 28
  • 48