removed dep on codec.EncoderException and lib
remomved commons.codec