Delivery Manager Tool - Package - Validation - Alerts - J2EE - Eclipse - Undefined variable

Description

This page explains how to solve the Undefined variable for J2EE Eclipse applications.

Observed in CAST AIP

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x
7.3.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2

Action Plan

  1. In the package content tab, identify the path of the project. In the below example, the path is amisting/.project:
  2. Go to the project path
  3. Open the .classpath file
  4. Inside the classpath file we can see that the variable that appears as undefined is defined in the classpath entry :
  5. Search in your source where the jar files defined in the classpath entry are located (EXTERNAL_JARS/log_extract.jar as an example from the above screenshot).
  6. Once found, in the package content remediate the undefined variable alert by giving the path of these jar files. In the current case the path is in R:/Sources/…/extlibs/src
  7. Package again.
  8. The undefined variable must not appear in the alerts again.
  9. If the above steps do not help you, contact CAST Technical Support with the Relevant Input in order to reproduce the issue.

Notes/comments

Related Pages