Automatic module cannot be used with jlink since version > 1.3.30
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- Java
- Stelle
- 4.4k
- Fork
- 714
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LibrePDF/OpenPDF
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
IndexOutOfBoundsException in PdfReaderForse già presa @andreasrosdalw l’ha presa 95 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
Tutte le issue di LibrePDF/OpenPDF
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug/错误
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
FCL-Team/FoldCraftLauncher#1982 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] micronaut-serde-oracle-jdbc-json brings a second OJDBC driver onto the runtime classpathForse già presa @ZARAYACH l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
micronaut-projects/micronaut-serialization#1494 · 4 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 75/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 2 giorni