org.apache.commons.codec.binary.Base64 clash
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.6k
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 33
説明
The class "org.apache.commons.codec.binary.Base64" in parquet-tools.jar version 1.9.0 is same at package and class name to which is in commons-codec.jar(all version) ,but its implement is much older.
That makes a jar-hell when both parquet-tools.jar and commons-codec.jar are used .
e.g.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;
**Reporter**: [JaredLi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=lhyundeadsoul)
#### Related issues:
- [org.apache.commons.codec.binary.Base64 clash #449](https://github.com/apache/parquet-java/issues/2120) (is duplicated by)
- [Remove Dependency on commons-codec](https://github.com/apache/parquet-java/issues/2302) (is superceded by)
**Note**: *This issue was originally created as [PARQUET-1194](https://issues.apache.org/jira/browse/PARQUET-1194). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず関連する issue #2302「Remove Dependency on commons-codec」と、PARQUET-2502 からリンクされている移行ドキュメントを確認してください。レポートにはファイルやテストが記載されていないため、そこに示されている dependency と packaging のエントリポイントを使用し、報告された Base64 クラスの衝突と NoSuchMethodError のシナリオが解決されていることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100