If you get an error "editor doesn't contain a main type" in eclipse, solution is : 1) Make sure eclipse created the project as Java project. 2) Just create a new Java project and copy your class into the src folder by import the eventual dependencies and adding all the jar files to it. This should fix the problem.
The blog will contain all the Technical knowledge I have to share and I welcome & would appreciate others for sharing their knowledge :0)