How to use addFormatters in WebMvcConfigurerAdapter <pre><code>@Configuration @EnableWebMvc // &lt;mvc:annotation-driven /&gt; public class WebApplicationConfig extends WebMvcConfigurerAdapter { @Override public void addFormatters(FormatterRegistry registry) { registry.addConverter(new EmailConverter()); } } </code></pre> <p>I add a <code>Converter</code> in <code>FormatterRegistry</code>,but I don't know how to use it, can someone help me out?</p>