ElegantJ BI deployment fail after moving zipped data folder from one server to another

Issue : Deployment Fail
Error : File Failed to Deploy/ elegantjbi.war.dodeploy file shows elegantjbi.war.failed

Root cause : If the cubes folder isn't extracted correctly after unzipping, the deployment of .war folder will fail.

Resolution : Once the data folder is unzipped, one needs to check the data folder structure. Sometimes it happens, folder extraction is incorrect and folder is displayed within the folder. 

Hence, structure of data folder should exactly match as shown below. Also, within the cubes folder there should be sub-folders of the cube with their respective cube ids.

Note: This article is based on ElegantJ BI Version 4.0. This may or may not be relevant to the ElegantJ BI version you may be using.