| Author |
Creating a map in Spring with enum as keytpe
|
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
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'.
|
Groovy
|
 |
 |
|
|
subject: Creating a map in Spring with enum as keytpe
|
|
|