-1
我得到一個IOException在我的代碼以下行java.io.StreamCorruptedException:無效的流頭FFD8FFE0
ObjectInputStream stream = new ObjectInputStream(new FileInputStream("D:\\K.jpg"));
異常詳細信息是:
java.io.StreamCorruptedException: invalid stream header: FFD8FFE0
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
請幫助我。
嗚......你試圖讀取JPEG文件一個POJO? – fge