I was able to create a working unit test for the workaround of moving the declared type out of the rules file and into a different package; but when I deployed this change on my server, the files loaded ok the first time, but again I ran into trouble when I would redeploy the base rules file. This time I got an error when the knowledge agent tried to load the package:
WARN 2012-01-18 14:15:03,416 [com.abclegal.rules.server.RulesServiceImpl] - KnowledgeAgent has KnowledgeBuilder errors object=Unable to resolve ObjectType 'TransgressionMetaData' : [Rule name='Remedy Transgressions '] Which looks like another symptom of the same bug. I will see if I can test for the bug with 5.4 when I get a chance. -- View this message in context: http://drools.46999.n3.nabble.com/ClassCastException-when-KnowledgeAgent-loads-declared-type-tp3664044p3670779.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users