尝试将 a 保存List<Status>
到 MongoDB(通过 Morphia),我得到这个编译时错误:
com.sun.xml.ws.spi.db.DatabindingException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
twitter4j.Status is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at twitter4j.Status
at public java.util.List Model.TwitterJob.getStatuses()
任何的想法?非常感谢!