Unable to run the automation script from command line

Hi,

I created my script for android app using appium desired capabilities in Eclipse IDE.

When I am running my script from eclipse its working fine, but I wanted to run the appium script from command line. I am always getting this in Command line

<img src="/uploads/appium/original/2X/3/34102c700927b8afa62b451be6961a3f50f26b26.png" width=“401” height=“161”>

and this in Appium logs
Bad parameters: BadParametersError: Parameters were incorrect. We wanted {“required”:[“desiredCapabilities”],“optional”:[“requiredCapabilities”,“capabilities”,“sessionId”,“id”]} and you sent [“desiredCapabilities”,“requiredCapabilities”,“capabilities”,“alwaysMatch”,“firstMatch”]
[HTTP] <-- POST /wd/hub/session 400 5 ms - 243

Can anyone please look into this.

Regards,
Sanjay