The jar with this had Main class configured as countvotes.Main. Please let me know your feedback on this @bruno-wp