Found non-transient, non-static member. Please mark as transient or provide accessors.
If a class is a bean, or is referenced by a bean, directly or indirectly
it needs to be serializable. Member variables need to be marked as transient,
marked as static, or have accessor methods in the class. Marking variables
as transient is the safest and easiest modification. Accessor methods should
follow the Java naming conventions, i.e.if you have a variable foo, you should
provide getFoo and setFoo methods.
private transient int someFoo;//good, it's transient
private static int otherFoo;// also OK
private int moreFoo;// OK, has proper accessors, see below
private int badFoo;//bad, should be marked transient