Expected JAR name LoadError
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Start by reproducing the documented Gradle, gem, vendor, and RSpec commands in the issue, then inspect the gemspec's jar-dependencies output. Compare the installed artifact with Logstash's registry check at logstash-core/lib/logstash/plugins/registry.rb#L155. Done means the plugin installs normally and Logstash accepts the generated JAR without --no-verify.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I saw other similar issues. Unfortunately, none actually address how to solve the problem and I guess this means that their projects started working magically.
I made this issue here because it seems to be the most active of the example repositories.
I followed the logstash documentation on java output plugins to make the following plugin:
https://github.com/hashgraph/logstash-output-hedera
I did a fresh clone, and ran the following (after bumping the version):
./gradlew clean
./gradlew build
./gradlew gem
bundle install
bundle exec rake vendor
bundle exec rspec
bundle exec rake publish_gem
I installed logstash with homebrew (read: linuxbrew on Ubuntu 18.04) @ version 7.6.1 and ran logstash-plugin install logstash-output-hedera, which reports a successful install of the plugin
The gemspec reports the plugin jar file should be named logstash-output-hedera-0.0.5.jar, which is what I find in the jar-dependencies folder for the installed logstash after the successful install.
That should be what is checked for by logstash: https://github.com/elastic/logstash/blob/master/logstash-core/lib/logstash/plugins/registry.rb#L155 (I think?)
Yet,
[main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) Java plugin 'logstash-output-hedera' does not contain a single jar file with the plugin's name and version
Works like a charm if I install locally:
logstash-plugin install --no-verify --local logstash-output-hedera-0.0.5.gem
Bruh, help
- Ngôn ngữ chính
- Java
- Star
- 19
- Fork
- 39
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của logstash-plugins/logstash-filter-java_filter_example
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
logstash-plugins/logstash-filter-java_filter_example#27 · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Sample code and instructions for Java plugins will omit common configuration (eg. 'id', 'tags') Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
-
How to use field values Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
logstash-plugins/logstash-filter-java_filter_example#15 · 1 bình luận ·
Tất cả issue của logstash-plugins/logstash-filter-java_filter_example
Issue tương tự
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Đang mởarea/plugin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Add canonical URLs and a sitemap Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apache/rocketmq-dashboard#5064 ·