Description
This page explains how to solve the Undefined variable for J2EE Eclipse applications.
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 |
Action Plan
- In the package content tab, identify the path of the project. In the below example, the path is amisting/.project:
- Go to the project path
- Open the .classpath file
- Inside the classpath file we can see that the variable that appears as undefined is defined in the classpath entry :
- 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).
- 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
- Package again.
- The undefined variable must not appear in the alerts again.
- 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