ERROR: COULD NOT DEFINE APPLICATION ENVRIONMENT