«fpml» 태그된 질문

15
JAXB에 의해 생성 된 @XmlRootElement가 없습니다.
FpML (Finanial Products Markup Language) 버전 4.5에서 Java 클래스를 생성하려고합니다. 많은 코드가 생성되었지만 사용할 수 없습니다. 간단한 문서를 직렬화하려고하면 다음과 같이됩니다. javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: unable to marshal type "org.fpml._2008.fpml_4_5.PositionReport" as an element because it is missing an @XmlRootElement annotation] 사실 더 classses는 @XmlRootElement 주석, 그래서 내가 잘못된 …
209 java  jaxb  xjc  fpml 
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.