I have defined a map in spring config file with enum as key type. I am getting this error message
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mymap': Error converting typed
String value for bean property 'mybean'; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert value of type 'java.lang.String' to required type 'MyEnum'.