インスタンスを作成し、コンテナに入れて送信したい。
TransferContainer container = null;
...
Class aClass = container.getByteCode();
o = aClass.newInstance();
....// Some code
...
container.setInstance(o);
ObjectOutputStream out = new ObjectOutputStream(_s.getOutputStream());
out.writeObject(container);
このエラーが発生します
java.io.NotSerializableException コンテナーにインスタンス o を追加しなければ、問題なく送信できます。