Java uses zxing to generate QR code bar code
•
Java
1、 Add the Maven dependency of zxing, or download the zxing jar package
This example uses zxing3 Version 2.0
Maven dependency:
Download address http://pan.baidu.com/s/1gdH7PzP
Note: this example uses 3.2 NiO. 0 version of Java 7 has been used The old version of Java IO also supports, but the method is marked as expired.
2、 Example code
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码