When I insert a List into mongodb, there is a problem:
Exception in thread \"main\" java.lang.IllegalArgumentException: can\'t serialize class mongodb.Person
class Person should implement java.io.Serializable interface.
java.io.Serializable
class Person implements Serializable