com.google.zxing.NotFoundException Spring Boot QR Code Example JUnit Tests
I tried to implement an example of QR Code Generator in Spring Boot.
I have a problem in Service Test and Controller Test.
In Service Test, I cannot decode the byte values in
QRCodeReader().decode(binaryBitmap)
I get this error message shown below when I run any test method
com.google.zxing.NotFoundException
In Controller Test, I get this error message shown below when I run any test method
How can I fix it?
Here is the link : https://github.com/Rapter1990/qr-generator-exampleGitHub
GitHub - Rapter1990/qr-generator-example: QR Generator Example with...
QR Generator Example with Spring Boot. Contribute to Rapter1990/qr-generator-example development by creating an account on GitHub.
3 Replies
⌛
This post has been reserved for your question.
Hey @direct_x_34! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Ok.
Here is the controller test : https://github.com/Rapter1990/qr-generator-example/blob/master/src/test/java/com/example/qrgeneratorexample/controller/QrControllerTest.java
Here is the service test : https://github.com/Rapter1990/qr-generator-example/blob/master/src/test/java/com/example/qrgeneratorexample/service/QrServiceTest.java
GitHub
qr-generator-example/QrControllerTest.java at master · Rapter1990/q...
QR Generator Example with Spring Boot. Contribute to Rapter1990/qr-generator-example development by creating an account on GitHub.
GitHub
qr-generator-example/QrServiceTest.java at master · Rapter1990/qr-g...
QR Generator Example with Spring Boot. Contribute to Rapter1990/qr-generator-example development by creating an account on GitHub.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.