Ǹδ֪ҳ

쳣:org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'siteHelp' on field 'type': rejected value [2]; codes [typeMismatch.siteHelp.type,typeMismatch.type,typeMismatch.com.sgc.comm.enums.SiteHelpTypeEnum,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [siteHelp.type,type]; arguments []; default message [type]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'com.sgc.comm.enums.SiteHelpTypeEnum' for property 'type'; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [@io.swagger.annotations.ApiModelProperty com.sgc.comm.enums.SiteHelpTypeEnum] for value '2'; nested exception is java.lang.IllegalArgumentException: No enum constant com.sgc.comm.enums.SiteHelpTypeEnum.2]
ҳ