Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Automatic module cannot be used with jlink since version > 1.3.30

オープン
#1,138 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
build-system

調査の方向性

Start by checking the module metadata and packaging changes between OpenPDF 1.3.30 and 2.0.2, then look for project tests or build configuration covering jlink. Confirm what prevents jlink from using the newer JAR and whether a supported fix is possible; done means a documented or tested resolution for consumers using jlink. The issue names no source files or tests, so locating the relevant entry points will take project familiarity.

索引モデルが issue の本文から書いたものです。

説明

bug cleanup good first issue

Greetings and thank you for your work.
I've got an error with the new version of OpenPDF.

Error: automatic module cannot be used with jlink: com.github.librepdf.openpdf from [...]/repository/com/github/librepdf/openpdf/2.0.2/openpdf-2.0.2.jar

It worked with version 1.3.30. Beyond that it's not working anymore.

Is it possible to fix it? Because it was very practical.
Regards.

Edit:
Okay, found a little fix but that's not great.

  • By defining static in my module-info requires static com.github.librepdf.openpdf;;
  • By adding <options>-classpath openpdf-2.0.2.jar --module-path openpdf-2.0.2.jar --add-modules com.github.librepdf.openpdf</options> for the javafx-maven-plugin in my pom (and of course the jar inside the correct directory)
主要言語
Java
スター
4.4k
フォーク
714
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LibrePDF/OpenPDF のほかの issue

LibrePDF/OpenPDF の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。