JAXB转XML: 错误 class nor any of its super class is known to this 的处理
用JAXB转XML时报错,该对象有一个List属性。
报错如下:
[com.sun.istack.SAXException2: class com.me.domain.Staff nor any of its super class is known to this context.
javax.xml.bind.JAXBException: class com.me.domain.St
原创
2014-10-29 20:23:26 ·
1711 阅读 ·
0 评论