I'm using FindBugs 2.0.2. While validating my project with findbugs i'm getting following errors:
In class com.vo.Account
Field com.vo.Account.startDat
Actual type javax.xml.datatype.XMLGregorianCalendar
In Account.java
Class com.vo.Account defines non-transient non-serializable instance field startDat
This Serializable class defines a non-primitive instance field which is neither transient, Serializable, or java.lang.Object, and does not appear to implement the Externalizable interface or the readObject() and writeObject() methods. Objects of this class will not be deserialized correctly if a non-Serializable object is stored in this field.
and also
class com.demo.AccountResources relies on internal api classes
This class makes use of internal api classes. As these classes are not documented, nor externally released as part of the api, they are subject to change or removal. You should not be using these classes.
Packages that shouldn't be used are:
com.sun.xxx
org.apache.xerces.xxx
org.apache.xalan.xxx
how do I fix these errors? thanks in advance