У меня есть программа-производитель Кафки, которая записывает сообщение в поток Кафки. Я получаю исключение SSLConnectionSocketFactory во время работы моего фляги. Ниже приведен стек исключений.
Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:146)
at com.sample.stsedh.datawise.engine.lite.extraction.api.APIRulesProviderServiceImpl.getCloseableHttpClient(APIRulesProviderServiceImpl.java:180)
at com.sample.stsedh.datawise.engine.lite.extraction.api.APIRulesProviderServiceImpl.getBdqRuleSet(APIRulesProviderServiceImpl.java:95)
at com.sample.stsedh.datawise.engine.lite.core.service.RuleExecutionServiceImpl.getDQRulesFromCache(RuleExecutionServiceImpl.java:236)
at com.sample.stsedh.datawise.engine.lite.core.service.RuleExecutionServiceImpl.getBdqRuleSet(RuleExecutionServiceImpl.java:168)
at com.sample.stsedh.datawise.engine.lite.core.service.RuleExecutionServiceImpl.executeRules(RuleExecutionServiceImpl.java:110)
at com.sample.sdp.util.BdqValidationHelper$.$anonfun$runBusinessRulesCheck$1(BdqValidationHelper.scala:78)
at scala.util.Try$.apply(Try.scala:209)
at com.sample.sdp.util.BdqValidationHelper$.runBusinessRulesCheck(BdqValidationHelper.scala:78)
at com.sample.sdp.client.Producer.runBusinessRuleChecks(Producer.scala:859)
at com.sample.sdp.client.Producer.$anonfun$internalSend$1(Producer.scala:845)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.util.Try$.apply(Try.scala:209)
at com.sample.sdp.client.Producer.internalSend(Producer.scala:845)
at com.sample.sdp.client.Producer.send(Producer.scala:574)
at com.kana.connect.server.util.SDPUtil.publishSDPTestMessage(SDPUtil.java:167)
at Test.main(Test.java:8)