Common validation errors and solutions
This table lists the common error messages that you might encounter when you validate your projects.
Message prefix | Message | Explanation |
---|---|---|
Application Client validator | ||
CHKJ1000 | Validation failed because the application client file is not valid. Ensure that the deployment descriptor is valid. | The application-client.xml file cannot be loaded. The
project metadata cannot be initialized from the application-client.xml file.
|
EAR validator | ||
CHKJ1001 | The EAR project {0} is invalid. | The application.xml file cannot be loaded. The project
metadata cannot be initialized from the application.xml file.
|
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. |
CHKJ2875E | <ejb-client-jar> {0} must exist in every EAR file that contains this EJB module. | If <ejb-client-jar> is specified in
ejb-jar.xml, a corresponding EJB client project must contain the home and
remote interfaces and any other types that a client will need. If these types are all contained in a
single EJB project, delete the <ejb-client-jar> line in the deployment
descriptor. Otherwise, ensure that the EJB client project exists, is open, and is a project utility
JAR in every EAR that uses this EJB project as a module. |
CHKJ2905 | The EJB validator did not run because ejb-jar.xml could not be loaded. Run the XML validator for more information. | CHKJ2905 means that the project's metadata could not be initialized from
ejb-jar.xml.
|
JSP validator | ||
IWAW0482 | No valid JspTranslator | There is a path problem with the project; the JSP Validator needs access to
the WAS runtime code. If IWAW0482E appears on all web projects, check the Variable or JRE path:
|
WAR validator | ||
CHKJ3008 | Missing or invalid WAR file. | The web.xml file cannot be loaded. The project metadata
cannot be initialized from the web.xml file.
|
XML validator | ||
The content of element type ejb-jaris incomplete, it must match (description?, display-name?, small-icon?, large-icon?, enterprise-beans, assembly-descriptor?, ejb-client-jar?). |
The EJB 1.1 and 2.0 specifications mandate that at least one enterprise bean must exist in an EJB .jar file. This error message is normal during development of EJB .jar files and can be ignored until you perform a production action, such as exporting or deploying code. Define at least one enterprise bean in the project. |