Message Oracle LSX-00167 - defining form of ~S must occur at the top level

ERRORdefining form of ~S must occur at the top level
CAUSEThe defining form did not occur at the top level of a schema.
ACTIONMove attributeGroup or group definition to the top level of the schema.