Common validation errors and solutions

Message prefix Message Explanation
EJB validator
CHKJ2102 Either a finder descriptor, or a matching custom finder method on the {0} class, must be defined. A finder descriptor must exist for every finder method. Define a descriptor on the Beans tab of the Deployment Descriptor Editor. For more information, see the topic "Implementing finders in home interfaces for CMP entity beans."
CHKJ2873 Migrate this bean's data source binding to a CMP Connection Factory binding. Run the migration tool on the EJB JAR:
  1. In the Java™ EE perspective, switch to the Enterprise Explorer view.
  2. Double-click to expand EJB Modules.
  3. Select the desired EJB JAR file.
  4. Select Migrate > J2EE Migration Wizard from the pop-up menu.
  5. Click OK.
CHKJ2874 Migrate this EJB module's default data source binding to a default CMP Connection Factory binding. Run the migration tool on the EJB JAR:
  1. In the Java EE perspective, switch to the Enterprise Explorer view.
  2. Double-click to expand EJB Modules.
  3. Select the desired EJB JAR file.
  4. Select Migrate > J2EE Migration Wizard from the pop-up menu.
  5. 5. Click OK.

Feedback