0
이 오류를 해결하는 방법을 알아내는 데 도움이 필요합니다. 나는 신축성있는 검색 5.6.2 및 로그 숨김 5.6.1 (및 5.6.3 및 6.0.0 시도) 및 JDK 1.8을 실행 중이지만 로그 숨김을 실행할 때 오류가 발생합니다. 이것은 OSX 10.12.6에 있습니다Logstash Load Error - Java
Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
io/console on JRuby shells out to stty for most operations
LoadError: load error: jopenssl/load -- java.lang.ExceptionInInitializerError: null
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/vendor/jruby/lib/ruby/shared/openssl.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/logstash-core/lib/logstash/patches/stronger_openssl_defaults.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/logstash-core/lib/logstash/patches/stronger_openssl_defaults.rb:2
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/logstash-core/lib/logstash/patches.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/logstash-core/lib/logstash/patches.rb:5
require at org/jruby/RubyKernel.java:1040
(root) at /Users/perkinsl/logstash-5.6.1/lib/bootstrap/environment.rb:70
설정 테스트를 실행 해 보았지만 그다지 멀지 않았습니다.
일부 사람들은 동일한 문제가있어 환경에 맞게 Java를 다시 설치해야합니다. 하지만 Java 7과 Java 8을 설치하는 것으로 보입니다. 실제로 Java8을 사용하고 있는지 확인하고 [여기 - 로그 숨김 문제] (https://github.com/elastic/logstash/)를 확인하십시오. issues/7770) – LenglBoy
감사합니다. JDK를 완전히 제거하고 다시 설치하고 Java_Home을 설정하는 것이 트릭을 완료 한 것 같습니다. –