users@jaxb.java.net

JAXB issue: java.security.Permission does not have a no-arg default constructor.

From: Arul Dhesiaseelan <arul_at_fluxcorp.com>
Date: Tue, 29 Jul 2008 08:46:27 -0600

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