com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions javax.xml.bind.JAXBElement does not have a no-arg default constructor. this problem is related to the following location: at javax.xml.bind.JAXBElement at public javax.xml.bind.JAXBElementorg.oasis_open.docs.wsn.b_2.Subscribe.getInitialTerminationTime() at org.oasis_open.docs.wsn.b_2.Subscribe ]

servicemix-users | pchakinala | 5 years ago
  1. 0

    Caused by: java.lang.RuntimeException: Could not create jaxb context

    servicemix-users | 5 years ago | pchakinala
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions javax.xml.bind.JAXBElement does not have a no-arg default constructor. this problem is related to the following location: at javax.xml.bind.JAXBElement at public javax.xml.bind.JAXBElementorg.oasis_open.docs.wsn.b_2.Subscribe.getInitialTerminationTime() at org.oasis_open.docs.wsn.b_2.Subscribe ]
  2. 0

    JAX-WS on WL 10.3.x

    Oracle Community | 6 years ago | 690742
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address + at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr + at com.sun.xml.ws.developer.MemberSubmissionEndpointReference + this problem is related to the following location: + at javax.xml.ws.wsaddressing.W3CEndpointReference$Address + at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address + at javax.xml.ws.wsaddressing.W3CEndpointReference + Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties at com.sun.xml.ws.developer.MemberSubmissionEndpointReference this problem is related to the following location: at javax.xml.ws.wsaddressing.W3CEndpointReference$Elementsat private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParametersat javax.xml.ws.wsaddressing.W3CEndpointReferenceat com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
  3. 0

    JAXB Exception...!

    Oracle Community | 5 years ago | Joseph Hwang
    org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/home/julian/workplace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1305009211342/deploy/TotalTestEAR.ear/TotalTest.war/
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to create JAXBContext: 1 counts of IllegalAnnotationExceptions no-arg default constructor

    Stack Overflow | 2 years ago | Kumar Gautam
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions 01:07:12,479 ERROR [stderr] java.lang.StackTraceElement does not have a no-arg default constructor. 01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102) 01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438) 01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
  6. 0

    wsdl2java Two classes have the same XML type name "{http://***.***.***.***/***/***/***}objectFactory"

    Stack Overflow | 1 year ago | mapek
    org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.camelContext

    5 unregistered visitors
    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. com.sun.xml.bind.v2.runtime.IllegalAnnotationsException

      1 counts of IllegalAnnotationExceptions javax.xml.bind.JAXBElement does not have a no-arg default constructor. this problem is related to the following location: at javax.xml.bind.JAXBElement at public javax.xml.bind.JAXBElementorg.oasis_open.docs.wsn.b_2.Subscribe.getInitialTerminationTime() at org.oasis_open.docs.wsn.b_2.Subscribe atcom.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102) [jaxb-impl-2.2.1.1.jar:2.2.2]

      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet()
    2. Old JAXB Runtime
      ContextFactory.createContext
      1. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472)[jaxb-impl-2.2.1.1.jar:2.2.2]
      2. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302)[jaxb-impl-2.2.1.1.jar:2.2.2]
      3. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)[jaxb-impl-2.2.1.1.jar:2.2.2]
      4. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)[jaxb-impl-2.2.1.1.jar:2.2.2]
      5. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)[jaxb-impl-2.2.1.1.jar:2.2.2]
      5 frames
    3. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_30]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_30]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_30]
      4. java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_30]
      5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:213)[:1.6.0_30]
      6. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:228)[:1.6.0_30]
      7. javax.xml.bind.ContextFinder.find(ContextFinder.java:374)[:1.6.0_30]
      8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)[:1.6.0_30]
      9. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)[:1.6.0_30]
      9 frames
    4. org.apache.servicemix
      WSNDeployer.<init>
      1. org.apache.servicemix.wsn.component.WSNEndpoint.createJAXBContext(WSNEndpoint.java:121)
      2. org.apache.servicemix.wsn.component.WSNEndpoint.createJAXBContext(WSNEndpoint.java:105)
      3. org.apache.servicemix.wsn.component.WSNDeployer.<init>(WSNDeployer.java:48)
      3 frames