微信支付调用getVerifier()方法获取签名序列化失败
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class sun.security.util.ObjectIdentifier and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: sun.security.rsa.RSAPrivateCrtKeyImpl["algorithmId"]->sun.security.x509.AlgorithmId["oid"]) getVerifier() 调用此方法报错。但是我我也没办法去控制啊。这个如何解