简体   繁体   中英

Running Repast with Drools

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?

Check your classpath. You missed drools jar on it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM