Check that the class path of the Java™ project contains the references to the
XOM and the rule engine.
About this task
The Java project for
rules sets the class path to the XOM and the rule engine library.
You can view the class path in the properties of the Java project.
Procedure
- Right-click the Java project
in the Rule Explorer, and select Properties in
the pop-up menu.
- In the Properties dialog, select Java
Build Path.
- Select the XOM reference:
- If the XOM references a Java project,
select the Projects tab and make sure that
the XOM is in the list of required projects.
- If the XOM references a JAR file or a class folder, select
the Libraries tab and make sure that the XOM
reference is included in the list of required JARs and class folders.
Note: If you do not want the XOM classes to be included in the
class path of your project, you can create your own class loader and
set it manually.
- Click the Libraries tab and make
sure that IBM ODM Rule Engine Library is displayed.
The rule engine library contains the JARs required for the
execution.
- Click OK again.
What to do next
After checking that the class path to the XOM and the rule
engine is correct, you can edit the ruleset execution method.