Type mismatch: cannot convert from ByteMatrix to BitMatrix

前端 未结 3 457
孤城傲影
孤城傲影 2021-01-26 13:00

I am creating a QR code generator program in JAVA using ZXING library. The program is

import com.google.zxing.BarcodeFormat;
import com.google.zxing.WriterExcept         


        
3条回答
  •  抹茶落季
    2021-01-26 13:36

    I got the same Issues and i solve it by downloading compatible zxing-javase.jar and zxing

    http://www.java2s.com/Code/Jar/z/Downloadzxingjavasejar.htm http://www.java2s.com/Code/Jar/z/Downloadzxingjar.htm

    the latest version are compatible and use ByteMatrix not BitMatrix. download them from original www.java2s.com

提交回复
热议问题