我正在尝试对生成的JAXB类强制执行枚举验证,但在绑定它们时遇到了一些问题。-enumsXSD为了防止类的重复,我使用了事件,但在enumsXSD中添加注释时,这看起来并不好用
com.sun.istack.SAXParseException2: compiler was unable to honor this annox:annotateEnumValueMethod customization. It is attached to a wrong place, or its inconsist