Cause
This error occurs if you attempt to define a global constant in terms of a class constant or primitive type constant. This is not supported.
Action
Change the global constant so that it is defined only in terms of literal values or other global constants.