初次加载 wechat-apiv3 sdk 出现: Caused by: java.lang.IllegalStateException: The corresponding provider for the merchant already exists
Config config =
new RSAAutoCertificateConfig.Builder()
.merchantId(SP_MCH_ID)
.privateKeyFromPath( FileUtil.class.getClassLoader().getResource("/properties/apiclient_key.pem").getPath())
.merchantSerialNumber("xxxxxx")
.apiV3Key("xxxxxxx")
.build();