亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

讀取二維碼信息報錯

Exception in thread "main" java.lang.Error: Unresolved compilation problem:?

The method sort(FinderPatternFinder.EstimatedModuleComparator) is undefined for the type List<FinderPattern>


at com.google.zxing.qrcode.detector.FinderPatternFinder.selectBestPatterns(FinderPatternFinder.java:616)

at com.google.zxing.qrcode.detector.FinderPatternFinder.find(FinderPatternFinder.java:164)

at com.google.zxing.qrcode.detector.Detector.detect(Detector.java:81)

at com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:77)

at com.google.zxing.MultiFormatReader.decodeInternal(MultiFormatReader.java:173)

at com.google.zxing.MultiFormatReader.decode(MultiFormatReader.java:71)

at com.pwl.zxing.ReadQRCode.main(ReadQRCode.java:31)


正在回答

1 回答

這個是jar包沒完全加載進來,用老師的jar包就可以了,我原先用的是3.4.0,調整為老師的jar包就沒有這個問題了。

1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Java生成二維碼
  • 參與學習       84574    人
  • 解答問題       279    個

二維碼無處不在,自己動手用Java生成二維碼,三種生成方式任你選

進入課程

讀取二維碼信息報錯

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號