I had a class called Items with is implement with Serializable, however when it's come to read data the system prompted me an error on NotSerializableException on Item class (as image link below) which is not exist in my project instead of Items class. I've tried to rebuild and clean the project but it's still same. Appreciate for the help as i got no clue at all..
public class Items implements Serializable {
private String item;
private String date;
public Items(String item, String date) {
this.item = item;
this.date = date;
}
public String getItem() {
return item;
}
public void setItem(String item) {
this.item = item;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
}
Image as below: