When I error with uploading in Eclipse, I uploaded file using Command prompt. See details in this site. The following is the implementation in my computer.
First of all, adding java path in Edit System Variable through System properties >> Advanced >> Environment Variables >> Edit
It is not needed earlier as I use Eclipse IDE.
Continue Reading >>