大家看看有什么问题吗,为什么ObjectInputStream in = new ObjectInputStream(blob.getBinaryStream());
报错呢
public static List TOLIST(Blob blob)throws IOException{ List l = new ArrayList(); try { ObjectInputStream in = new ObjectInputStream(blob.getBinaryStream()); l = (List)in.readObject(); in.close(); return l; } catch (Exception e) { // TODO: handle exception System.out.println("BlobToObject"); e.printStackTrace(); return null ; } }
报错呢
public static List TOLIST(Blob blob)throws IOException{ List l = new ArrayList(); try { ObjectInputStream in = new ObjectInputStream(blob.getBinaryStream()); l = (List)in.readObject(); in.close(); return l; } catch (Exception e) { // TODO: handle exception System.out.println("BlobToObject"); e.printStackTrace(); return null ; } }
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货