---
title: "StreamCorruptedException  invalid type code 34"
author: "fireinjava"
date: "2014-12-15T22:47:01Z"
tags: []
categories: ["研发管理"]
slug: "streamcorruptedexception-invalid-type-code-34"
draft: false
lastmod: "2014-12-15T22:47:01Z"
id: 2166551
url: "https://fireinjava.iteye.com/blog/2166551"
---

反序列的时候抛错：

```
java.io.StreamCorruptedException: invalid type code: 34
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
```

 原因：反序列的这边没有对应的类导致。。。

备忘，留给比我还马虎的人看的~