Portugal Localizations: QR Code Is Not Getting Generated After Upgrade DB JDK to 7+
(Doc ID 2820026.1)
Last updated on NOVEMBER 08, 2021
Applies to:EMEA Add-on Localizations - Version 12.2.6 and later
Information in this document applies to any platform.
As per Doc ID 2801820.1, to generate QR code for Portugal SAFT requirement, trying to load the JAR file using the below
But encountered error during loadjava
The following operations failed
class com/oracle/erp/qr/QRGenerator: resolution
class io/nayuki/qrcodegen/BitBuffer: resolution
class io/nayuki/qrcodegen/QrCode$Ecc: resolution
class io/nayuki/qrcodegen/QrCode: resolution
class io/nayuki/qrcodegen/QrCodeGeneratorDemo: resolution
class io/nayuki/qrcodegen/QrCodeGeneratorWorker: resolution
class io/nayuki/qrcodegen/QrSegment$Mode: resolution
class io/nayuki/qrcodegen/QrSegment: resolution
class io/nayuki/qrcodegen/QrSegmentAdvanced: resolution
class java/nio/file/Path: creation (createFailed)
class java/nio/file/Files: creation (createFailed)
class java/nio/file/OpenOption: creation (createFailed)
class java/nio/charset/StandardCharsets: creation (createFailed)
class java/util/Objects: creation (createFailed)
exiting : Failures occurred during processing
The issue can be reproduced at will with the following steps:
1) Perform the pre-requisite setup as per Doc ID 2801820.1
1) Transfer the JAR file qr-code-nayuki-1.0.jar in the test database server using WINSCP or any other file transfer application.
2) Login to the database server, go to home directory, set the appropriate environment (using their .env file) and run below command :
a) > dropjava -u apps/@ -v qr-code-nayuki-1.0.jar
b) > loadjava -u apps/@ -r -v -f -s -grant public -genmissing qr-code-nayuki-1.0.jar
Upgraded JDK of DB and perform pre-requisite setup as per Doc ID 2801820.1 - Portugal Localization: Generate QR Code For Portugal Billing Invoice Print
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document