Converters appear to work fine when extending WebMvcConfigurerAdapter and adding @EnableWebMVC. However, they do not work when extending WebMvcConfigurationSupport (which is needed for some things ConfigurerAdapter doesn't support). How can type converters be properly registered when using WebMvcConfigurationSupport?
I am trying to add a custom Converter for a Spring MVC web application to convert between a string representing microseconds since the UNIX epoch and a Joda DateTime.
Read full article from java - Registering Spring MVC custom type converters not working when extending WebMvcConfigurationSupport - Stack Overflow
No comments:
Post a Comment