Description

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

 

Observed in CAST AIP

 

Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS2 (tick)
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