java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.company.project.SomeInterface is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.company.project.SomeInterface at public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0 at com.company.project.service.soap.jaxws.SetField1 com.company.project.SomeInterface does not have a no-arg default constructor. this problem is related to the following location: at com.company.project.SomeInterfaceat public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0at com.company.project.service.soap.jaxws.SetField1at java.security.AccessController.doPrivileged(Native Method)

Oracle Community | rdelaplante | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GlassFish V3.1 RC2 deployment issues (JAXB/JAX-WS/JAX-RS)

    Oracle Community | 6 years ago | rdelaplante
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.company.project.SomeInterface is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.company.project.SomeInterface at public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0 at com.company.project.service.soap.jaxws.SetField1 com.company.project.SomeInterface does not have a no-arg default constructor. this problem is related to the following location: at com.company.project.SomeInterfaceat public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0at com.company.project.service.soap.jaxws.SetField1at java.security.AccessController.doPrivileged(Native Method)
  2. 0

    JAXB can't handle the interface issue in webservice

    Oracle Community | 5 years ago | 879420
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.tms.t3.common.xmlbeans.t3Framework.VehicleType is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.tms.t3.common.xmlbeans.t3Framework.VehicleType at public com.tms.t3.common.xmlbeans.t3Framework.VehicleType service.ws3.vehicleinformation.jaxws.GetVehicleResponse.getVehicleResult at service.ws3.vehicleinformation.jaxws.GetVehicleResponse com.tms.t3.common.xmlbeans.t3Framework.VehicleType does not have a no-arg default constructor. this problem is related to the following location: at com.tms.t3.common.xmlbeans.t3Framework.VehicleTypeat public com.tms.t3.common.xmlbeans.t3Framework.VehicleType service.ws3.vehicleinformation.jaxws.GetVehicleResponse.getVehicleResultat service.ws3.vehicleinformation.jaxws.GetVehicleResponseat java.security.AccessController.doPrivileged(Native Method)
  3. 0

    JAXB can't handle interfaces issue in webservice

    Oracle Community | 5 years ago | 879420
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.tms.t3.common.xmlbeans.t3Framework.VehicleType is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.tms.t3.common.xmlbeans.t3Framework.VehicleType at public com.tms.t3.common.xmlbeans.t3Framework.VehicleType service.ws3.vehicleinformation.jaxws.GetVehicleResponse.getVehicleResult at service.ws3.vehicleinformation.jaxws.GetVehicleResponse com.tms.t3.common.xmlbeans.t3Framework.VehicleType does not have a no-arg default constructor. this problem is related to the following location: at com.tms.t3.common.xmlbeans.t3Framework.VehicleTypeat public com.tms.t3.common.xmlbeans.t3Framework.VehicleType service.ws3.vehicleinformation.jaxws.GetVehicleResponse.getVehicleResultat service.ws3.vehicleinformation.jaxws.GetVehicleResponseat java.security.AccessController.doPrivileged(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.PrivilegedActionException

      com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions com.company.project.SomeInterface is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at com.company.project.SomeInterface at public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0 at com.company.project.service.soap.jaxws.SetField1 com.company.project.SomeInterface does not have a no-arg default constructor. this problem is related to the following location: at com.company.project.SomeInterfaceat public com.company.project.SomeInterface com.company.project.service.soap.jaxws.SetField1.arg0at com.company.project.service.soap.jaxws.SetField1at java.security.AccessController.doPrivileged(Native Method)

      at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext()
    2. JAX-WS RI Runtime Bundle
      AbstractSEIModelImpl.createJAXBContext
      1. com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
      1 frame