users@jaxb.java.net

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

From: Arul Dhesiaseelan <arul_at_fluxcorp.com>
Date: Tue, 06 May 2008 16:30:51 -0600

Hi,

I have a class CustomPermission which extends java.security.Permission.
How can I make these classes JAXB aware? I am getting the following error.

Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2
counts of IllegalAnnotationExceptions
test.security.CustomPermission does not have a no-arg default constructor.
    this problem is related to the following location:
        at test.security.CustomPermission
        at @javax.xml.bind.annotation.XmlSeeAlso(value=[class
test.security.CustomPermission, class test.security.CustomPermissionImpl])
        at private test.security.UserImpl
test.security.jaxws_asm.GetUserResponse.user
        at test.security.jaxws_asm.GetUserResponse
java.security.Permission does not have a no-arg default constructor.
    this problem is related to the following location:
        at java.security.Permission
        at test.security.CustomPermission
        at @javax.xml.bind.annotation.XmlSeeAlso(value=[class
test.security.CustomPermission, class
test.security.impl.CustomPermissionImpl])
        at private test.security.UserImpl
test.security.jaxws_asm.GetUserResponse.user
        at test.security.jaxws_asm.GetUserResponse

Can someone help me fix this issue?

Thank you,
Arul