-
Notifications
You must be signed in to change notification settings - Fork 16
FAQ
tonyd1989 edited this page Dec 31, 2022
·
1 revision
常见问题列表:
-
Caused by: java.lang.NoSuchMethodError: com.google.gson.JsonParser.parseString(Ljava/lang/String;)Lcom/google/gson/JsonElement; at com.netease.yidun.sdk.core.endpoint.EndpointConfigLoader.parseConfigContent(EndpointConfigLoader.java:130)解决办法:项目当前使用的gson版本比较低,建议更新到sdk相同版本
<dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8.7</version> </dependency> -
javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint 'javax.validation.constraints.NotBlank' validating type 'java.lang.String'. Check configuration for 'content'解决办法:项目当前使用的validator版本比较低,建议更新到sdk相同版本
<dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>6.2.0.Final</version> </dependency>