ClassNotFoundException while deserializing data
<p>I'm serializing a map of a Class object and a list of Strings, which works quite well. However if I try to deserialize it, I'm getting a ClassNotFoundException. 
Here's the code:</p>

<pre><code>Map&lt;Class&lt;? extends IDomain&gt;, List&lt;String&gt;&gt; mapPresetImport = (Map&lt;Class&lt;? extends IDomain&gt;, List&lt;String&gt;&gt;) ois.readObject();
</code></pre>

<p>What could have caused that exception? </p>