Hello JAXB users,
I am getting the following error at JAXB runtime.
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1
counts of IllegalAnnotationExceptions
java.security.Permission does not have a no-arg default constructor.
this problem is related to the following location:
at java.security.Permission
My interface has the following methods:
public Set<Permission> getPermissions();
public void setPermissions(Set<Permission> permissions);
How do I fix this in JAXB runtime as I do not have control over
annotating java.security.* classes?
Appreciate any help.
Thank you,
Arul