programatic configuration for NotEmpty validation is not working as it is not referring to the NotEmpty interface provided by javax validation framework.