【问题标题】:Java connection to Splunk Cloud errorJava 连接到 Splunk Cloud 错误
【发布时间】:2017-11-07 10:32:06
【问题描述】:

我正在尝试通过 Java 8 应用程序连接到 Splunk。在连接到 Splunk Cloud 时,我在这一行收到以下错误:

HttpService.setSslSecurityProtocol(SSLSecurityProtocol.TLSv1_2)

错误:

java.lang.NoSuchMethodError: com.splunk.SSLSecurityProtocol.(Ljava/lang/String;ILcom/splunk/SSLSecurityProtocol;)V 在 com.splunk.SSLSecurityProtocol$2.(SSLSecurityProtocol.java:7) ~[splunk-1.6.2.0.jar!/:1.6.2] 在 com.splunk.SSLSecurityProtocol.(SSLSecurityProtocol.java:7) ~[splunk-1.6.2.0.jar!/:1.6.2]

谁能提供解决方案?

【问题讨论】:

  • 你收到JCE了吗?
  • @kartik 使用“编辑”按钮。
  • 是的,我使用过 JCE。问题仍然存在。
  • 有解决办法的吗?

标签: java splunk


【解决方案1】:

好的。这是 splunk 版本 1.6.2.0 的问题。使用最新版本的 splunk。 我使用 1.6.3.0 解决了这个问题。

【讨论】:

    猜你喜欢
    • 2019-05-26
    • 1970-01-01
    • 1970-01-01
    • 2020-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-08
    相关资源
    最近更新 更多