I am new to jaxb. I had one doubt regarding jaxb
@XmlElementDecl(namespace = "http://mtop/nra/xsd/tca/v1", name = "thresholdCrossingAlert", substitutionHeadNamespace = "http://mtop/fmw/xsd/cei/v1", substitutionHeadName = "commoneventInformation")
This is an annotation in which I get an exception like
"java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions"
ThresholdCrossingAlert.class extends the class EventInformationType.class , and EventInformationType.class extends the class CommonEventInformation.class inturn,
This is any problem with my annotation definition or error in initializing JaxbContext .
source share