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
  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

  5. 0

    Error on Endpoint.publish sinze jdk6u15

    Oracle Community | 7 years ago | 843833
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  6. 0

    Webservice:  Unable to create JAXBContext

    Oracle Community | 7 years ago | amseth
    java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions oracle.xml.scalable.InfosetReader is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at oracle.xml.scalable.InfosetReaderat public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader() at oracle.xml.parser.v2.XMLDocument at public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0 at testws.jaxws.TestXML oracle.xml.scalable.InfosetReader does not have a no-arg default constructor. this problem is related to the following location: at oracle.xml.scalable.InfosetReaderat public oracle.xml.scalable.InfosetReader oracle.xml.parser.v2.XMLDocument.getInfosetReader() at oracle.xml.parser.v2.XMLDocumentat public oracle.xml.parser.v2.XMLDocument testws.jaxws.TestXML.arg0at testws.jaxws.TestXMLat java.security.AccessController.doPrivileged(Native Method)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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