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:
parent
16742f70c1
commit
0477035fbd
@ -174,6 +174,7 @@ public class SentinelAutoConfiguration {
|
|||||||
return new SentinelDataSourceHandler(beanFactory);
|
return new SentinelDataSourceHandler(beanFactory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConditionalOnClass(ObjectMapper.class)
|
||||||
protected static class SentinelConverterConfiguration {
|
protected static class SentinelConverterConfiguration {
|
||||||
|
|
||||||
private ObjectMapper objectMapper = new ObjectMapper();
|
private ObjectMapper objectMapper = new ObjectMapper();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user