Unable to start logstash getting error

Related? Exception while starting Logstash [LoadError: load error: jopenssl/load -- java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals]

  • What version of Logstash?
  • How did you install Logstash (e.g., package from elastic.co, from source, deb or rpm package etc)?
  • What is your operating system?
  • What is your $JAVA_HOME?
    echo $JAVA_HOME
    
  • What version of Java are you running?
    java -version