I know how to save a list of String
Now, e.g. I create my own Animal class
But when I try to save list in mongodb, it gives
java.lang.IllegalArgumentException: can't serialize class Project
I do create a new mongo collection Animal, but it is still not working.