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

运行时报错

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class java.nio.file.Path, but interface was expected

at com.google.zxing.client.j2se.MatrixToImageWriter.writeToPath(MatrixToImageWriter.java:124)

at com.google.zxing.client.j2se.MatrixToImageWriter.writeToPath(MatrixToImageWriter.java:95)

at imoocORcode.CreaterORcode.main(CreaterORcode.java:40)


提问者:qq_时空错乱_04299935 2017-01-05 21:25

个回答

  • D_丁
    2017-01-13 17:12:05

    线程中 不兼容的类更改时抛出该异常