问答详情
源自:6-2 使用zxing生成二维码

无法决定一个类型?

BitMatrix cannot be resolved to a type

 File cannot be resolved to a type 

提问者:qq_嗬_0 2017-07-18 17:59

个回答

  • 无敌绝世骚美男
    2017-07-18 18:30:48

    import java.io.File;

    import java.nio.file.Path;

    import java.util.HashMap;

    import com.google.zxing.BarcodeFormat;

    import com.google.zxing.EncodeHintType;

    import com.google.zxing.MultiFormatWriter;

    import com.google.zxing.client.j2se.MatrixToImageWriter;

    import com.google.zxing.common.BitMatrix;

    import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;