[rules-users] RE: 4.0.0-M2: RuleFlow "CannotResolveClassException"error
Kris Verlaenen
kris.verlaenen at cs.kuleuven.be
Thu May 10 10:12:41 EDT 2007
RE: 4.0.0-M2: RuleFlow "CannotResolveClassException" error> I think the RFM
file is just a data file for the GUI display, not needed for runtime. Kris
can you confirm?
It is the other way around. The plugin generates 2 versions of your
ruleflow:
- a .rf (ruleflow file) containing the entire ruleflow, including all
graphical information like coordinates of all the elements
- a .rfm version (ruleflow model file) containing only the definition of
the ruleflow, not the graphical information
It is indeed this second file (the *.rfm) that needs to be used when adding
a ruleflow to a ProcessBuilder.
Trying to add the *.rf file will indeed result in the exception you provided
because the classes containing the graphical information are not part of the
drools core and thus cannot be found.
Thx Michael for updating the wiki.
Kris
More information about the rules-users
mailing list