manuelbl / SwissQRBill

Java library for Swiss QR bill payment slips (aka QR-Rechnung)
https://www.codecrete.net/qrbill
MIT License
155 stars 37 forks source link

Ranged version dependency to qrcodegen caused runtime exception today #67

Closed rhoehener closed 2 years ago

rhoehener commented 2 years ago

qrbill-generator:2.4.3 depends on qrcodegen:[1.6,)

Building today pulled qrcodegen:1.8.0, which caused this exception at runtime:

java.lang.NoSuchMethodError: io.nayuki.qrcodegen.QrCode.encodeText(Ljava/lang/String;Lio/nayuki/qrcodegen/QrCode$Ecc;)Lio/nayuki/qrcodegen/QrCode;
    at net.codecrete.qrbill.generator.QRCode.draw(QRCode.java:49)

Please consider using fixed dependency versions instead of ranges (also for pdfbox).

manuelbl commented 2 years ago

This exact issue has been fixed with release 3.0.3. It now uses fixed versions for dependencies.

Please upgrade to version 3.0.3.