1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

add @ConditionalOnClass for jackson in sentinel

This commit is contained in:
fangjian0423 2019-04-17 10:52:50 +08:00
parent 16742f70c1
commit 0477035fbd

View File

@ -174,6 +174,7 @@ public class SentinelAutoConfiguration {
return new SentinelDataSourceHandler(beanFactory);
}
@ConditionalOnClass(ObjectMapper.class)
protected static class SentinelConverterConfiguration {
private ObjectMapper objectMapper = new ObjectMapper();